Package org.apache.http.client.protocol
Class RequestAddCookies
- java.lang.Object
-
- org.apache.http.client.protocol.RequestAddCookies
-
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
@Contract(threading=IMMUTABLE) public class RequestAddCookies extends java.lang.Object implements org.apache.http.HttpRequestInterceptor
Request interceptor that matches cookies available in the currentCookieStore
to the request being executed and generates correspondingCookie
request headers.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Constructor Description RequestAddCookies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
-
-
-
Method Detail
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
- Specified by:
process
in interfaceorg.apache.http.HttpRequestInterceptor
- Throws:
org.apache.http.HttpException
java.io.IOException
-
-