public interface HttpConnectionRequestInterceptor
CookieInterceptor.interceptRequest(HttpConnectionInterceptorContext)
for an example.
Interceptors are executed in a pipeline and modify the context in a serial fashion.Modifier and Type | Method and Description |
---|---|
HttpConnectionInterceptorContext |
interceptRequest(HttpConnectionInterceptorContext context)
Intercept the request.
|
HttpConnectionInterceptorContext interceptRequest(HttpConnectionInterceptorContext context)
HttpURLConnection
which
initiate a request such as HttpURLConnection.getResponseCode()
context
- Input context