Class AsyncExecuteRequest
- java.lang.Object
-
- software.amazon.awssdk.http.async.AsyncExecuteRequest
-
public final class AsyncExecuteRequest extends Object
Request object containing the parameters necessary to make an asynchronous HTTP request.- See Also:
SdkAsyncHttpClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AsyncExecuteRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsyncExecuteRequest.Builder
builder()
boolean
fullDuplex()
SdkHttpExecutionAttributes
httpExecutionAttributes()
Optional<MetricCollector>
metricCollector()
SdkHttpRequest
request()
SdkHttpContentPublisher
requestContentPublisher()
SdkAsyncHttpResponseHandler
responseHandler()
-
-
-
Method Detail
-
request
public SdkHttpRequest request()
- Returns:
- The HTTP request.
-
requestContentPublisher
public SdkHttpContentPublisher requestContentPublisher()
- Returns:
- The publisher of request body.
-
responseHandler
public SdkAsyncHttpResponseHandler responseHandler()
- Returns:
- The response handler.
-
metricCollector
public Optional<MetricCollector> metricCollector()
- Returns:
- The
MetricCollector
.
-
fullDuplex
public boolean fullDuplex()
- Returns:
- True if the operation this request belongs to is full duplex. Otherwise false.
-
httpExecutionAttributes
public SdkHttpExecutionAttributes httpExecutionAttributes()
- Returns:
- the SDK HTTP execution attributes associated with this request
-
builder
public static AsyncExecuteRequest.Builder builder()
-
-