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 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, MultipartPayload 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, 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:
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
-
-