org.apache.oltu.oauth2.client
Interface HttpClient

All Known Implementing Classes:
HttpClient4, URLConnectionClient

public interface HttpClient


Method Summary
<T extends OAuthClientResponse>
T
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
 

Method Detail

execute

<T extends OAuthClientResponse> T execute(OAuthClientRequest request,
                                          Map<String,String> headers,
                                          String requestMethod,
                                          Class<T> responseClass)
                                      throws OAuthSystemException,
                                             OAuthProblemException
Throws:
OAuthSystemException
OAuthProblemException

shutdown

void shutdown()
Shut down the client and release the resources associated with the HttpClient



Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.