Package groovyx.net.http
Class HttpURLClient.OAuthWrapper
- java.lang.Object
-
- groovyx.net.http.HttpURLClient.OAuthWrapper
-
- Enclosing class:
- HttpURLClient
private static class HttpURLClient.OAuthWrapper extends java.lang.Object
This class basically wraps Signpost classes so they are not loaded untilHttpURLClient.setOAuth(Object, Object, Object, Object)
is called. This allows Signpost to act as an optional dependency. If you are not using Signpost, you don't need the JAR on your classpath.- Since:
- 0.5.1
-
-
Field Summary
Fields Modifier and Type Field Description protected oauth.signpost.OAuthConsumer
oauth
-
Constructor Summary
Constructors Constructor Description OAuthWrapper(java.lang.Object consumerKey, java.lang.Object consumerSecret, java.lang.Object accessToken, java.lang.Object accessSecret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.net.HttpURLConnection
sign(java.net.HttpURLConnection request, org.apache.http.HttpEntity body)
-