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