public class URLConnectionClient extends Object implements HttpClient
| Constructor and Description |
|---|
URLConnectionClient() |
| Modifier and Type | Method and Description |
|---|---|
<T extends OAuthClientResponse> |
execute(OAuthClientRequest request,
Map<String,String> headers,
String requestMethod,
Class<T> responseClass) |
void |
shutdown()
Shut down the client and release the resources associated with the HttpClient
|
public <T extends OAuthClientResponse> T execute(OAuthClientRequest request, Map<String,String> headers, String requestMethod, Class<T> responseClass) throws org.apache.oltu.oauth2.common.exception.OAuthSystemException, org.apache.oltu.oauth2.common.exception.OAuthProblemException
execute in interface HttpClientorg.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionpublic void shutdown()
HttpClientshutdown in interface HttpClientCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.