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 Object implements org.apache.http.HttpRequestInterceptor
This class is used to sign all requests via an HttpRequestInterceptor until the context-aware AuthScheme is released in HttpClient 4.1.
Since:
0.5.1
  • Field Details

    • oauth

      protected oauth.signpost.OAuthConsumer oauth
  • Constructor Details

    • OAuthSigner

      public OAuthSigner(String consumerKey, String consumerSecret, String accessToken, String secretToken)
  • Method Details

    • process

      public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext ctx) throws org.apache.http.HttpException, IOException
      Specified by:
      process in interface org.apache.http.HttpRequestInterceptor
      Throws:
      org.apache.http.HttpException
      IOException