Package org.apache.oltu.oauth2.client
Interface HttpClient
-
- All Known Implementing Classes:
URLConnectionClient
public interface HttpClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends OAuthClientResponse>
Texecute(OAuthClientRequest request, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.String requestMethod, java.lang.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, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.String requestMethod, java.lang.Class<T> responseClass) throws OAuthSystemException, OAuthProblemException
-
shutdown
void shutdown()
Shut down the client and release the resources associated with the HttpClient
-
-