com.ning.http.client.providers.netty
Class ResponseHeaders

java.lang.Object
  extended by com.ning.http.client.HttpContent
      extended by com.ning.http.client.HttpResponseHeaders
          extended by com.ning.http.client.providers.netty.ResponseHeaders

public class ResponseHeaders
extends HttpResponseHeaders

A class that represent the HTTP headers.


Field Summary
 
Fields inherited from class com.ning.http.client.HttpContent
provider, uri
 
Constructor Summary
ResponseHeaders(URI uri, org.jboss.netty.handler.codec.http.HttpResponse response, AsyncHttpProvider provider)
           
ResponseHeaders(URI uri, org.jboss.netty.handler.codec.http.HttpResponse response, AsyncHttpProvider provider, org.jboss.netty.handler.codec.http.HttpChunkTrailer traillingHeaders)
           
 
Method Summary
 FluentCaseInsensitiveStringsMap getHeaders()
          Return the HTTP header
 
Methods inherited from class com.ning.http.client.HttpResponseHeaders
isTraillingHeadersReceived
 
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

ResponseHeaders

public ResponseHeaders(URI uri,
                       org.jboss.netty.handler.codec.http.HttpResponse response,
                       AsyncHttpProvider provider)

ResponseHeaders

public ResponseHeaders(URI uri,
                       org.jboss.netty.handler.codec.http.HttpResponse response,
                       AsyncHttpProvider provider,
                       org.jboss.netty.handler.codec.http.HttpChunkTrailer traillingHeaders)
Method Detail

getHeaders

public FluentCaseInsensitiveStringsMap getHeaders()
Return the HTTP header

Specified by:
getHeaders in class HttpResponseHeaders
Returns:
an FluentCaseInsensitiveStringsMap


Copyright © 2011. All Rights Reserved.