This project has retired. For details please refer to its
Attic page.
OAuthClient (Apache Oltu: OAuth 2.0 Implementation - Client 0.31-incubating-SNAPSHOT API)
org.apache.amber.oauth2.client
Class OAuthClient
java.lang.Object
org.apache.amber.oauth2.client.OAuthClient
public class OAuthClient
- extends Object
OAuth Client - exposes a high-level API for Client Applications
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpClient
protected HttpClient httpClient
OAuthClient
public OAuthClient(HttpClient oauthClient)
accessToken
public <T extends OAuthAccessTokenResponse> T accessToken(OAuthClientRequest request,
Class<T> responseClass)
throws OAuthSystemException,
OAuthProblemException
- Throws:
OAuthSystemException
OAuthProblemException
accessToken
public <T extends OAuthAccessTokenResponse> T accessToken(OAuthClientRequest request,
String requestMethod,
Class<T> responseClass)
throws OAuthSystemException,
OAuthProblemException
- Throws:
OAuthSystemException
OAuthProblemException
accessToken
public OAuthJSONAccessTokenResponse accessToken(OAuthClientRequest request)
throws OAuthSystemException,
OAuthProblemException
- Throws:
OAuthSystemException
OAuthProblemException
accessToken
public OAuthJSONAccessTokenResponse accessToken(OAuthClientRequest request,
String requestMethod)
throws OAuthSystemException,
OAuthProblemException
- Throws:
OAuthSystemException
OAuthProblemException
resource
public <T extends OAuthClientResponse> T resource(OAuthClientRequest request,
String requestMethod,
Class<T> responseClass)
throws OAuthSystemException,
OAuthProblemException
- Throws:
OAuthSystemException
OAuthProblemException
shutdown
public void shutdown()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.