Package groovyx.net.http
Class ContentEncoding.RequestInterceptor
- java.lang.Object
-
- groovyx.net.http.ContentEncoding.RequestInterceptor
-
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
- Enclosing class:
- ContentEncoding
protected class ContentEncoding.RequestInterceptor extends java.lang.Object implements org.apache.http.HttpRequestInterceptor
Request interceptor that adds the correctAccept
header to the outgoing request.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(org.apache.http.HttpRequest req, org.apache.http.protocol.HttpContext context)
-
-
-
Method Detail
-
process
public void process(org.apache.http.HttpRequest req, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
- Specified by:
process
in interfaceorg.apache.http.HttpRequestInterceptor
- Throws:
org.apache.http.HttpException
java.io.IOException
-
-