@Contract(threading=IMMUTABLE)
public class ResponseProcessCookies
extends java.lang.Object
implements org.apache.http.HttpResponseInterceptor
CookieStore
with data
contained in response cookies received in the given the HTTP response.Modifier and Type | Field and Description |
---|---|
private org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ResponseProcessCookies() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
formatCooke(Cookie cookie) |
void |
process(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
private void |
processCookies(org.apache.http.HeaderIterator iterator,
CookieSpec cookieSpec,
CookieOrigin cookieOrigin,
CookieStore cookieStore) |
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
process
in interface org.apache.http.HttpResponseInterceptor
org.apache.http.HttpException
java.io.IOException
private void processCookies(org.apache.http.HeaderIterator iterator, CookieSpec cookieSpec, CookieOrigin cookieOrigin, CookieStore cookieStore)
private static java.lang.String formatCooke(Cookie cookie)