Class AbstractAsyncOnlyHttpClient
- java.lang.Object
-
- com.github.scribejava.core.httpclient.AbstractAsyncOnlyHttpClient
-
- All Implemented Interfaces:
HttpClient,Closeable,AutoCloseable
public abstract class AbstractAsyncOnlyHttpClient extends Object implements HttpClient
-
-
Field Summary
-
Fields inherited from interface com.github.scribejava.core.httpclient.HttpClient
CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description AbstractAsyncOnlyHttpClient()
-
Method Summary
Modifier and Type Method Description Responseexecute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, byte[] bodyContents)Responseexecute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, MultipartPayload bodyContents)Responseexecute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, File bodyContents)Responseexecute(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
-
-
-
-
Method Detail
-
execute
public Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, byte[] bodyContents) throws InterruptedException, ExecutionException, IOException
- Specified by:
executein interfaceHttpClient- Throws:
InterruptedExceptionExecutionExceptionIOException
-
execute
public Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, MultipartPayload bodyContents) throws InterruptedException, ExecutionException, IOException
- Specified by:
executein interfaceHttpClient- Throws:
InterruptedExceptionExecutionExceptionIOException
-
execute
public Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, String bodyContents) throws InterruptedException, ExecutionException, IOException
- Specified by:
executein interfaceHttpClient- Throws:
InterruptedExceptionExecutionExceptionIOException
-
execute
public Response execute(String userAgent, Map<String,String> headers, Verb httpVerb, String completeUrl, File bodyContents) throws InterruptedException, ExecutionException, IOException
- Specified by:
executein interfaceHttpClient- Throws:
InterruptedExceptionExecutionExceptionIOException
-
-