public class

RequestAcceptEncoding

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

Class Overview

Class responsible for handling Content Encoding requests in HTTP.

Instances of this class are stateless, therefore they're thread-safe and immutable.

See Also
  • http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.5

Summary

Public Constructors
RequestAcceptEncoding()
Public Methods
void process(HttpRequest request, HttpContext context)
Adds the header "Accept-Encoding: gzip,deflate" to the request.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.HttpRequestInterceptor

Public Constructors

public RequestAcceptEncoding ()

Also: HttpClient

Public Methods

public void process (HttpRequest request, HttpContext context)

Also: HttpClient

Adds the header "Accept-Encoding: gzip,deflate" to the request.