Package software.amazon.awssdk.http
Interface ExecutableHttpRequest
-
- All Superinterfaces:
Abortable
,Callable<HttpExecuteResponse>
public interface ExecutableHttpRequest extends Callable<HttpExecuteResponse>, Abortable
An HTTP request that can be invoked bycall()
. Once invoked, the HTTP call can be cancelled viaAbortable.abort()
, which should release the thread that has invokedcall()
as soon as possible.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpExecuteResponse
call()
-
-
-
Method Detail
-
call
HttpExecuteResponse call() throws IOException
- Specified by:
call
in interfaceCallable<HttpExecuteResponse>
- Throws:
IOException
-
-