groovyx.net.http
Class ContentEncoding.RequestInterceptor
java.lang.Object
groovyx.net.http.ContentEncoding.RequestInterceptor
- All Implemented Interfaces:
- HttpRequestInterceptor
- Enclosing class:
- ContentEncoding
protected class ContentEncoding.RequestInterceptor
- extends Object
- implements HttpRequestInterceptor
Request interceptor that adds the correct Accept
header
to the outgoing request.
- Author:
- Tom Nichols
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentEncoding.RequestInterceptor
protected ContentEncoding.RequestInterceptor()
process
public void process(HttpRequest req,
HttpContext context)
throws HttpException,
IOException
- Specified by:
process
in interface HttpRequestInterceptor
- Throws:
HttpException
IOException
Copyright © 2008-2009. All Rights Reserved.