Class AbstractAsyncOnlyHttpClient
java.lang.Object
com.github.scribejava.core.httpclient.AbstractAsyncOnlyHttpClient
- All Implemented Interfaces:
HttpClient
,Closeable
,AutoCloseable
-
Field Summary
Fields inherited from interface com.github.scribejava.core.httpclient.HttpClient
CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CONTENT_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, byte[] bodyContents) execute
(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, MultipartPayload bodyContents) execute
(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, File bodyContents) execute
(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, String bodyContents) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.scribejava.core.httpclient.HttpClient
executeAsync, executeAsync, executeAsync, executeAsync
-
Constructor Details
-
AbstractAsyncOnlyHttpClient
public AbstractAsyncOnlyHttpClient()
-
-
Method Details
-
execute
public Response execute(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, byte[] bodyContents) throws InterruptedException, ExecutionException, IOException- Specified by:
execute
in interfaceHttpClient
- Throws:
InterruptedException
ExecutionException
IOException
-
execute
public Response execute(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, MultipartPayload bodyContents) throws InterruptedException, ExecutionException, IOException- Specified by:
execute
in interfaceHttpClient
- Throws:
InterruptedException
ExecutionException
IOException
-
execute
public Response execute(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, String bodyContents) throws InterruptedException, ExecutionException, IOException- Specified by:
execute
in interfaceHttpClient
- Throws:
InterruptedException
ExecutionException
IOException
-
execute
public Response execute(String userAgent, Map<String, String> headers, Verb httpVerb, String completeUrl, File bodyContents) throws InterruptedException, ExecutionException, IOException- Specified by:
execute
in interfaceHttpClient
- Throws:
InterruptedException
ExecutionException
IOException
-