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.HttpRequestInterceptorRequest interceptor that matches cookies available in the currentCookieStoreto the request being executed and generates correspondingCookierequest headers.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.commons.logging.Loglog
-
Constructor Summary
Constructors Constructor Description RequestAddCookies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(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:
processin interfaceorg.apache.http.HttpRequestInterceptor- Throws:
org.apache.http.HttpExceptionjava.io.IOException
-
-