public class InputStreamResponseHandler extends Object implements HttpResponseHandler<AppendableByteArrayInputStream,InputStream>
| Constructor and Description | 
|---|
InputStreamResponseHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
ClientResponse<InputStream> | 
done(ClientResponse<AppendableByteArrayInputStream> clientResponse)  | 
void | 
exceptionCaught(ClientResponse<AppendableByteArrayInputStream> clientResponse,
               Throwable e)  | 
ClientResponse<AppendableByteArrayInputStream> | 
handleChunk(ClientResponse<AppendableByteArrayInputStream> clientResponse,
           org.jboss.netty.handler.codec.http.HttpChunk chunk)  | 
ClientResponse<AppendableByteArrayInputStream> | 
handleResponse(org.jboss.netty.handler.codec.http.HttpResponse response)
Handles the initial HttpResponse object that comes back from Netty. 
 | 
public ClientResponse<AppendableByteArrayInputStream> handleResponse(org.jboss.netty.handler.codec.http.HttpResponse response)
HttpResponseHandlerhandleResponse in interface HttpResponseHandler<AppendableByteArrayInputStream,InputStream>response - - response from Nettypublic ClientResponse<AppendableByteArrayInputStream> handleChunk(ClientResponse<AppendableByteArrayInputStream> clientResponse, org.jboss.netty.handler.codec.http.HttpChunk chunk)
handleChunk in interface HttpResponseHandler<AppendableByteArrayInputStream,InputStream>public ClientResponse<InputStream> done(ClientResponse<AppendableByteArrayInputStream> clientResponse)
done in interface HttpResponseHandler<AppendableByteArrayInputStream,InputStream>public void exceptionCaught(ClientResponse<AppendableByteArrayInputStream> clientResponse, Throwable e)
exceptionCaught in interface HttpResponseHandler<AppendableByteArrayInputStream,InputStream>Copyright © 2011–2018. All rights reserved.