@Contract(threading=IMMUTABLE) public class RequestAcceptEncoding extends Object implements HttpRequestInterceptor
Instances of this class are stateless, therefore they're thread-safe and immutable.
| Constructor and Description |
|---|
RequestAcceptEncoding() |
RequestAcceptEncoding(List<String> encodings) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpRequest request,
HttpContext context)
Processes a request.
|
public void process(HttpRequest request, HttpContext context) throws HttpException, IOException
HttpRequestInterceptorprocess in interface HttpRequestInterceptorrequest - the request to preprocesscontext - the context for the requestHttpException - in case of an HTTP protocol violationIOException - in case of an I/O errorCopyright © 2010 - 2020 Adobe. All Rights Reserved