public class RequestAddCookies extends java.lang.Object implements HttpRequestInterceptor
CookieStore
to the request being executed and generates
corresponding Cookie
request headers.
The following parameters can be used to customize the behavior of this class:
Constructor and Description |
---|
RequestAddCookies() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpRequest request,
HttpContext context)
Processes a request.
|
public void process(HttpRequest request, HttpContext context) throws HttpException, java.io.IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to preprocesscontext
- the context for the requestHttpException
- in case of an HTTP protocol violationjava.io.IOException
- in case of an I/O error