@Contract(threading=STATELESS) 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 |
---|---|
static RequestAddCookies |
INSTANCE
Singleton instance.
|
Constructor and Description |
---|
RequestAddCookies() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
public static final RequestAddCookies INSTANCE
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
process
in interface HttpRequestInterceptor
HttpException
IOException
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.