public class

RequestConnControl

extends Object
implements HttpRequestInterceptor
java.lang.Object
   ↳ org.apache.http.protocol.RequestConnControl

Class Overview

RequestConnControl is responsible for adding Connection header to the outgoing requests, which is essential for managing persistence of HTTP/1.0 connections. This interceptor is recommended for client side protocol processors.

Summary

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

Public Constructors

public RequestConnControl ()

Public Methods

public void process (HttpRequest request, HttpContext context)

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.

Parameters
request the request to preprocess
context the context for the request