Package software.amazon.awssdk.http
Class SdkRequestContext
java.lang.Object
software.amazon.awssdk.http.SdkRequestContext
Container for extra dependencies needed during execution of a request.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SdkRequestContext.Builder
builder()
boolean
Option to indicate if the request is for a full duplex operation ie., request and response are sent/received at the same time.
-
Method Details
-
builder
- Returns:
- Builder instance to construct a
SdkRequestContext
.
-
fullDuplex
public boolean fullDuplex()Option to indicate if the request is for a full duplex operation ie., request and response are sent/received at the same time. This can be used to set http configuration like ReadTimeouts as soon as request has begin sending data instead of waiting for the entire request to be sent.- Returns:
- True if the operation this request belongs to is full duplex. Otherwise false.
-