public class ResponseCookieHandler<Intermediate,Final> extends Object implements com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
ResponseCookieHandler(URI uri,
CookieManager manager,
com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final> delegate) |
Modifier and Type | Method and Description |
---|---|
com.metamx.http.client.response.ClientResponse<Final> |
done(com.metamx.http.client.response.ClientResponse<Intermediate> clientResponse) |
void |
exceptionCaught(com.metamx.http.client.response.ClientResponse<Intermediate> clientResponse,
Throwable throwable) |
com.metamx.http.client.response.ClientResponse<Intermediate> |
handleChunk(com.metamx.http.client.response.ClientResponse<Intermediate> clientResponse,
org.jboss.netty.handler.codec.http.HttpChunk httpChunk) |
com.metamx.http.client.response.ClientResponse<Intermediate> |
handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse) |
public ResponseCookieHandler(URI uri, CookieManager manager, com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final> delegate)
public com.metamx.http.client.response.ClientResponse<Intermediate> handleResponse(org.jboss.netty.handler.codec.http.HttpResponse httpResponse)
handleResponse
in interface com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final>
public com.metamx.http.client.response.ClientResponse<Intermediate> handleChunk(com.metamx.http.client.response.ClientResponse<Intermediate> clientResponse, org.jboss.netty.handler.codec.http.HttpChunk httpChunk)
handleChunk
in interface com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final>
public com.metamx.http.client.response.ClientResponse<Final> done(com.metamx.http.client.response.ClientResponse<Intermediate> clientResponse)
done
in interface com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final>
public void exceptionCaught(com.metamx.http.client.response.ClientResponse<Intermediate> clientResponse, Throwable throwable)
exceptionCaught
in interface com.metamx.http.client.response.HttpResponseHandler<Intermediate,Final>
Copyright © 2019 The Apache Software Foundation. All rights reserved.