Package software.amazon.awssdk.http
Class SdkRequestContext
- java.lang.Object
-
- software.amazon.awssdk.http.SdkRequestContext
-
public class SdkRequestContext extends Object
Container for extra dependencies needed during execution of a request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SdkRequestContext.Builder
Builder for aSdkRequestContext
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SdkRequestContext.Builder
builder()
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.
-
-
-
Method Detail
-
builder
public static SdkRequestContext.Builder 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.
-
-