private static class ProxyRequestHandler.ProxyResponseHandler extends Object implements ResponseHandler
Modifier and Type | Field and Description |
---|---|
(package private) AtomicBoolean |
closed |
(package private) ResponseHandler |
delegate |
(package private) SharedResource |
request |
(package private) ResourceReference |
requestReference |
Constructor and Description |
---|
ProxyResponseHandler(SharedResource request,
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 SharedResource request
final ResourceReference requestReference
final ResponseHandler delegate
final AtomicBoolean closed
ProxyResponseHandler(SharedResource request, 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.