org.apache.oltu.oauth2.client
Class URLConnectionClient
java.lang.Object
org.apache.oltu.oauth2.client.URLConnectionClient
- All Implemented Interfaces:
- HttpClient
public class URLConnectionClient
- extends Object
- implements HttpClient
Implementation of the OAuth HttpClient using URL Connection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLConnectionClient
public URLConnectionClient()
execute
public <T extends OAuthClientResponse> T execute(OAuthClientRequest request,
Map<String,String> headers,
String requestMethod,
Class<T> responseClass)
throws OAuthSystemException,
OAuthProblemException
- Specified by:
execute
in interface HttpClient
- Throws:
OAuthSystemException
OAuthProblemException
shutdown
public void shutdown()
- Description copied from interface:
HttpClient
- Shut down the client and release the resources associated with the HttpClient
- Specified by:
shutdown
in interface HttpClient
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.