Class AwsJsonResponseHandler<T>

java.lang.Object
software.amazon.awssdk.protocols.json.internal.unmarshall.AwsJsonResponseHandler<T>
All Implemented Interfaces:
HttpResponseHandler<T>

public final class AwsJsonResponseHandler<T> extends Object implements HttpResponseHandler<T>
  • Constructor Details

  • Method Details

    • handle

      public T handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) throws Exception
      Description copied from interface: HttpResponseHandler
      Accepts an HTTP response object, and returns an object of type T. Individual implementations may choose to handle the response however they need to, and return any type that they need to.
      Specified by:
      handle in interface HttpResponseHandler<T>
      Parameters:
      response - The HTTP response to handle, as received from an AWS service.
      executionAttributes - The attributes attached to this particular execution.
      Returns:
      An object of type T, as defined by individual implementations.
      Throws:
      Exception - If any problems are encountered handling the response.