Class AbstractAsyncOnlyHttpClient
- java.lang.Object
-
- com.github.scribejava.core.httpclient.AbstractAsyncOnlyHttpClient
-
- All Implemented Interfaces:
HttpClient,java.io.Closeable,java.lang.AutoCloseable
public abstract class AbstractAsyncOnlyHttpClient extends java.lang.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Responseexecute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, byte[] bodyContents)Responseexecute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, MultipartPayload bodyContents)Responseexecute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, MultipartPayload bodyContents)Deprecated.Responseexecute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, java.io.File bodyContents)Responseexecute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, java.lang.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, executeAsync
-
-
-
-
Method Detail
-
execute
public Response execute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, byte[] bodyContents) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.io.IOException
- Specified by:
executein interfaceHttpClient- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.io.IOException
-
execute
@Deprecated public Response execute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, MultipartPayload bodyContents) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.io.IOException
Deprecated.- Specified by:
executein interfaceHttpClient- Parameters:
userAgent- userAgentheaders- headershttpVerb- httpVerbcompleteUrl- completeUrlbodyContents- bodyContents- Returns:
- return
- Throws:
java.lang.InterruptedException- InterruptedExceptionjava.util.concurrent.ExecutionException- ExecutionExceptionjava.io.IOException- IOException
-
execute
public Response execute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, MultipartPayload bodyContents) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.io.IOException
- Specified by:
executein interfaceHttpClient- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.io.IOException
-
execute
public Response execute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, java.lang.String bodyContents) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.io.IOException
- Specified by:
executein interfaceHttpClient- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.io.IOException
-
execute
public Response execute(java.lang.String userAgent, java.util.Map<java.lang.String,java.lang.String> headers, Verb httpVerb, java.lang.String completeUrl, java.io.File bodyContents) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.io.IOException
- Specified by:
executein interfaceHttpClient- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.io.IOException
-
-