private static class ProxyRequestHandler.NullContentResponseHandler extends Object implements ResponseHandler
Modifier and Type | Field and Description |
---|---|
(package private) ResponseHandler |
delegate |
Constructor and Description |
---|
NullContentResponseHandler(ResponseHandler delegate) |
Modifier and Type | Method and Description |
---|---|
ContentChannel |
handleResponse(Response response)
This method will process the given
Response and return a ContentChannel into which the caller
can write the Response's content. |
String |
toString() |
final ResponseHandler delegate
NullContentResponseHandler(ResponseHandler delegate)
public ContentChannel handleResponse(Response response)
ResponseHandler
This method will process the given Response
and return a ContentChannel
into which the caller
can write the Response's content.
handleResponse
in interface ResponseHandler
response
- The Response to handle.Copyright © 2018. All rights reserved.