public class ResponseCookieHandler<Intermediate,Final> extends Object implements HttpResponseHandler<Intermediate,Final>
| Constructor and Description | 
|---|
ResponseCookieHandler(URI uri,
                     CookieManager manager,
                     HttpResponseHandler<Intermediate,Final> delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
ClientResponse<Final> | 
done(ClientResponse<Intermediate> clientResponse)  | 
void | 
exceptionCaught(ClientResponse<Intermediate> clientResponse,
               Throwable throwable)  | 
ClientResponse<Intermediate> | 
handleChunk(ClientResponse<Intermediate> clientResponse,
           org.jboss.netty.handler.codec.http.HttpChunk httpChunk)  | 
ClientResponse<Intermediate> | 
handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse)
Handles the initial HttpResponse object that comes back from Netty. 
 | 
public ResponseCookieHandler(URI uri, CookieManager manager, HttpResponseHandler<Intermediate,Final> delegate)
public ClientResponse<Intermediate> handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse)
HttpResponseHandlerhandleResponse in interface HttpResponseHandler<Intermediate,Final>httpResponse - - response from Nettypublic ClientResponse<Intermediate> handleChunk(ClientResponse<Intermediate> clientResponse, org.jboss.netty.handler.codec.http.HttpChunk httpChunk)
handleChunk in interface HttpResponseHandler<Intermediate,Final>public ClientResponse<Final> done(ClientResponse<Intermediate> clientResponse)
done in interface HttpResponseHandler<Intermediate,Final>public void exceptionCaught(ClientResponse<Intermediate> clientResponse, Throwable throwable)
exceptionCaught in interface HttpResponseHandler<Intermediate,Final>Copyright © 2011–2018. All rights reserved.