Package com.amazonaws

Class DefaultRequest<T>

  • All Implemented Interfaces:
    Request<T>, SignableRequest<T>

    public class DefaultRequest<T>
    extends Object
    implements Request<T>
    Default implementation of the Request interface.

    This class is only intended for internal use inside the AWS client libraries. Callers shouldn't ever interact directly with objects of this class.

    • Constructor Detail

      • DefaultRequest

        public DefaultRequest​(AmazonWebServiceRequest originalRequest,
                              String serviceName)
        Constructs a new DefaultRequest with the specified service name and the original, user facing request object.
        Parameters:
        serviceName - The name of the service to which this request is being sent.
        originalRequest - The original, user facing, AWS request being represented by this internal request object.
      • DefaultRequest

        public DefaultRequest​(String serviceName)
        Constructs a new DefaultRequest with the specified service name and no specified original, user facing request object.
        Parameters:
        serviceName - The name of the service to which this request is being sent.