org.apache.oltu.oauth2.httpclient4
Class HttpClient4
java.lang.Object
org.apache.oltu.oauth2.httpclient4.HttpClient4
- All Implemented Interfaces:
- HttpClient
public class HttpClient4
- extends Object
- implements HttpClient
Exemplar HttpClient4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClient4
public HttpClient4()
HttpClient4
public HttpClient4(org.apache.http.client.HttpClient client)
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
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
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.