T
- The type of original, user facing request represented by this
request.public interface SignableRequest<T>
This class is only intended for internal use inside the AWS client libraries. Callers shouldn't ever interact directly with objects of this class.
Modifier and Type | Method and Description |
---|---|
void |
addHeader(java.lang.String name,
java.lang.String value)
Sets the specified header for this request.
|
void |
addParameter(java.lang.String name,
java.lang.String value)
Adds the specified request parameter to this request.
|
java.io.InputStream |
getContent()
Returns the optional stream containing the payload data to include for
this request.
|
java.io.InputStream |
getContentUnwrapped()
Returns the optional raw stream containing the payload data to include
for this request, with all progress stream wrappers.
|
java.net.URI |
getEndpoint()
Returns the service endpoint (ex: "https://ec2.amazonaws.com") to which
this request should be sent.
|
java.util.Map<java.lang.String,java.lang.String> |
getHeaders()
Returns a map of all the headers included in this request.
|
HttpMethodName |
getHttpMethod()
Returns the HTTP method (GET, POST, etc) to use when sending this
request.
|
java.lang.Object |
getOriginalRequestObject()
Returns the original, user facing request object which this internal
request object is representing.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getParameters()
Returns a map of all parameters in this request.
|
ReadLimitInfo |
getReadLimitInfo()
Returns the read limit info about the original request.
|
java.lang.String |
getResourcePath()
Returns the path to the resource being requested.
|
int |
getTimeOffset()
Returns the optional value for time offset for this request.
|
void |
setContent(java.io.InputStream content)
Sets the optional stream containing the payload data to include for this
request.
|
void addHeader(java.lang.String name, java.lang.String value)
name
- The name of the header to set.value
- The header's value.java.util.Map<java.lang.String,java.lang.String> getHeaders()
java.lang.String getResourcePath()
void addParameter(java.lang.String name, java.lang.String value)
name
- The name of the request parameter.value
- The value of the request parameter.java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameters()
java.net.URI getEndpoint()
HttpMethodName getHttpMethod()
int getTimeOffset()
java.io.InputStream getContent()
java.io.InputStream getContentUnwrapped()
ReadLimitInfo getReadLimitInfo()
java.lang.Object getOriginalRequestObject()
Object
.void setContent(java.io.InputStream content)
content
- The optional stream containing the payload data to include for
this request.