Package groovyx.net.http
Class AuthConfig.OAuthSigner
- java.lang.Object
-
- groovyx.net.http.AuthConfig.OAuthSigner
-
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
- Enclosing class:
- AuthConfig
static class AuthConfig.OAuthSigner extends java.lang.Object implements org.apache.http.HttpRequestInterceptorThis class is used to sign all requests via anHttpRequestInterceptoruntil the context-aware AuthScheme is released in HttpClient 4.1.- Since:
- 0.5.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classAuthConfig.OAuthSigner.OAuthRequestAdapter
-
Field Summary
Fields Modifier and Type Field Description protected oauth.signpost.OAuthConsumeroauth
-
Constructor Summary
Constructors Constructor Description OAuthSigner(java.lang.String consumerKey, java.lang.String consumerSecret, java.lang.String accessToken, java.lang.String secretToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext ctx)
-
-
-
Method Detail
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext ctx) throws org.apache.http.HttpException, java.io.IOException- Specified by:
processin interfaceorg.apache.http.HttpRequestInterceptor- Throws:
org.apache.http.HttpExceptionjava.io.IOException
-
-