@Contract(threading=STATELESS) public class RequestAddCookies extends Object implements org.apache.hc.core5.http.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(org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.EntityDetails entity,
org.apache.hc.core5.http.protocol.HttpContext context) |
public static final RequestAddCookies INSTANCE
public void process(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException, IOException
process
in interface org.apache.hc.core5.http.HttpRequestInterceptor
org.apache.hc.core5.http.HttpException
IOException
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.