public class


extends Object
implements HttpRequestInterceptor
   ↳ org.apache.http.client.protocol.RequestAddCookies

Class Overview

Request interceptor that matches cookies available in the current CookieStore to the request being executed and generates corresponding cookierequest headers.


Public Constructors
Public Methods
void process(HttpRequest request, HttpContext context)
Processes a request.
Inherited Methods
From class java.lang.Object
From interface org.apache.http.HttpRequestInterceptor

Public Constructors

public RequestAddCookies ()

Since: API Level 1

Public Methods

public void process (HttpRequest request, HttpContext context)

Since: API Level 1

Processes a request. On the client side, this step is performed before the request is sent to the server. On the server side, this step is performed on incoming messages before the message body is evaluated.

request the request to preprocess
context the context for the request