@Contract(threading=IMMUTABLE) public class RequestAddCookies extends Object implements HttpRequestInterceptor
CookieStore
to the request being executed and generates
corresponding Cookie
request headers.Modifier and Type | Field and Description |
---|---|
private org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
RequestAddCookies() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpRequest request,
HttpContext context)
Processes a request.
|
private final org.apache.commons.logging.Log log
public RequestAddCookies()
public void process(HttpRequest request, HttpContext context) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to preprocesscontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O errorWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses