public interface HttpResponseHandler<IntermediateType,FinalType>
Modifier and Type | Method and Description |
---|---|
ClientResponse<FinalType> |
done(ClientResponse<IntermediateType> clientResponse) |
void |
exceptionCaught(ClientResponse<IntermediateType> clientResponse,
Throwable e) |
ClientResponse<IntermediateType> |
handleChunk(ClientResponse<IntermediateType> clientResponse,
org.jboss.netty.handler.codec.http.HttpChunk chunk) |
ClientResponse<IntermediateType> |
handleResponse(org.jboss.netty.handler.codec.http.HttpResponse response)
Handles the initial HttpResponse object that comes back from Netty.
|
ClientResponse<IntermediateType> handleResponse(org.jboss.netty.handler.codec.http.HttpResponse response)
response
- - response from NettyClientResponse<IntermediateType> handleChunk(ClientResponse<IntermediateType> clientResponse, org.jboss.netty.handler.codec.http.HttpChunk chunk)
ClientResponse<FinalType> done(ClientResponse<IntermediateType> clientResponse)
void exceptionCaught(ClientResponse<IntermediateType> clientResponse, Throwable e)
Copyright © 2011–2018. All rights reserved.