java.lang.Object | |
↳ | org.apache.http.client.protocol.RequestAcceptEncoding |
Class responsible for handling Content Encoding requests in HTTP.
Instances of this class are stateless, therefore they're thread-safe and immutable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the header
"Accept-Encoding: gzip,deflate" to the request. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.HttpRequestInterceptor
|
Adds the header "Accept-Encoding: gzip,deflate"
to the request.
HttpException | |
---|---|
IOException |