public interface HttpResponseFilter
This interface implemented by client
and registered via HttpClientBuilder.addResponseFilter(com.oracle.httpclient.HttpResponseFilter)
method.
HttpResponseFilter is executed upon receiving a network response, before control is returned to the application.
Modifier and Type | Method and Description |
---|---|
void |
filter(ProcessedHttpResponse response,
HttpRequestProcessingContext context)
This method is called after the response is received.
|
void filter(ProcessedHttpResponse response, HttpRequestProcessingContext context)
response
- mutable response.context
- request processing context.Copyright © 2013, 2014, Oracle and/or its affiliates. All rights reserved.