@Contract(threading=STATELESS) public class ResponseProcessCookies extends Object implements HttpResponseInterceptor
CookieStore
with data
contained in response cookies received in the given the HTTP response.Constructor and Description |
---|
ResponseProcessCookies() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes a response.
|
public void process(HttpResponse response, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpResponseInterceptor
process
in interface HttpResponseInterceptor
response
- the response to processentity
- the request entity details or null
if not availablecontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O error