@Contract(threading=STATELESS) public class RequestAddCookies extends Object implements HttpRequestInterceptor
CookieStore to the request being executed and generates
corresponding Cookie request headers.| Constructor and Description |
|---|
RequestAddCookies() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpRequest request,
EntityDetails entity,
HttpContext context)
Processes a request.
|
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpRequestInterceptorprocess in interface HttpRequestInterceptorrequest - the request 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