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.
  • Method Details

    • 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.