com.ning.http.client
Class HttpResponseHeaders

java.lang.Object
  extended by com.ning.http.client.HttpContent
      extended by com.ning.http.client.HttpResponseHeaders
Direct Known Subclasses:
ApacheResponseHeaders, ResponseHeaders, ResponseHeaders

public abstract class HttpResponseHeaders
extends HttpContent

A class that represent the HTTP headers.


Field Summary
 
Fields inherited from class com.ning.http.client.HttpContent
provider, uri
 
Constructor Summary
HttpResponseHeaders(URI uri, AsyncHttpProvider provider)
           
HttpResponseHeaders(URI uri, AsyncHttpProvider provider, boolean traillingHeaders)
           
 
Method Summary
abstract  FluentCaseInsensitiveStringsMap getHeaders()
          Return the HTTP header
 boolean isTraillingHeadersReceived()
          Return true is headers has been received after the response body.
 
Methods inherited from class com.ning.http.client.HttpContent
getUrl, provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponseHeaders

public HttpResponseHeaders(URI uri,
                           AsyncHttpProvider provider)

HttpResponseHeaders

public HttpResponseHeaders(URI uri,
                           AsyncHttpProvider provider,
                           boolean traillingHeaders)
Method Detail

getHeaders

public abstract FluentCaseInsensitiveStringsMap getHeaders()
Return the HTTP header

Returns:
an FluentCaseInsensitiveStringsMap

isTraillingHeadersReceived

public boolean isTraillingHeadersReceived()
Return true is headers has been received after the response body.

Returns:
true is headers has been received after the response body.


Copyright © 2011. All Rights Reserved.