public interface HttpClient extends Closeable
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_LENGTH |
static String |
CONTENT_TYPE |
static String |
DEFAULT_CONTENT_TYPE |
Modifier and Type | Method and Description |
---|---|
Response |
execute(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
byte[] bodyContents) |
Response |
execute(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
File bodyContents) |
Response |
execute(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
MultipartPayload bodyContents) |
Response |
execute(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
String bodyContents) |
<T> Future<T> |
executeAsync(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
byte[] bodyContents,
OAuthAsyncRequestCallback<T> callback,
OAuthRequest.ResponseConverter<T> converter) |
<T> Future<T> |
executeAsync(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
File bodyContents,
OAuthAsyncRequestCallback<T> callback,
OAuthRequest.ResponseConverter<T> converter) |
<T> Future<T> |
executeAsync(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
MultipartPayload bodyContents,
OAuthAsyncRequestCallback<T> callback,
OAuthRequest.ResponseConverter<T> converter) |
<T> Future<T> |
executeAsync(String userAgent,
Map<String,String> headers,
Verb httpVerb,
String completeUrl,
String bodyContents,
OAuthAsyncRequestCallback<T> callback,
OAuthRequest.ResponseConverter<T> converter) |
static final String DEFAULT_CONTENT_TYPE
static final String CONTENT_TYPE
static final String CONTENT_LENGTH
<T> Future<T> executeAsync(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, byte[] bodyContents, OAuthAsyncRequestCallback<T> callback, OAuthRequest.ResponseConverter<T> converter)
<T> Future<T> executeAsync(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, MultipartPayload bodyContents, OAuthAsyncRequestCallback<T> callback, OAuthRequest.ResponseConverter<T> converter)
<T> Future<T> executeAsync(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, String bodyContents, OAuthAsyncRequestCallback<T> callback, OAuthRequest.ResponseConverter<T> converter)
<T> Future<T> executeAsync(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, File bodyContents, OAuthAsyncRequestCallback<T> callback, OAuthRequest.ResponseConverter<T> converter)
Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, byte[] bodyContents) throws InterruptedException, ExecutionException, IOException
Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, MultipartPayload bodyContents) throws InterruptedException, ExecutionException, IOException
Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, String bodyContents) throws InterruptedException, ExecutionException, IOException
Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, File bodyContents) throws InterruptedException, ExecutionException, IOException
Copyright © 2018. All rights reserved.