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(String name,
String value)
Sets the specified header for this request.
|
void |
addParameter(String name,
String value)
Adds the specified request parameter to this request.
|
InputStream |
getContent()
Returns the optional stream containing the payload data to include for
this request.
|
InputStream |
getContentUnwrapped()
Returns the optional raw stream containing the payload data to include
for this request, with all progress stream wrappers.
|
URI |
getEndpoint()
Returns the service endpoint (ex: "https://ec2.amazonaws.com") to which
this request should be sent.
|
Map<String,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.
|
Object |
getOriginalRequestObject()
Returns the original, user facing request object which this internal
request object is representing.
|
Map<String,List<String>> |
getParameters()
Returns a map of all parameters in this request.
|
ReadLimitInfo |
getReadLimitInfo()
Returns the read limit info about the original request.
|
String |
getResourcePath()
Returns the path to the resource being requested.
|
int |
getTimeOffset()
Returns the optional value for time offset for this request.
|
void |
setContent(InputStream content)
Sets the optional stream containing the payload data to include for this
request.
|
void addHeader(String name, String value)
name
- The name of the header to set.value
- The header's value.Map<String,String> getHeaders()
String getResourcePath()
void addParameter(String name, String value)
name
- The name of the request parameter.value
- The value of the request parameter.Map<String,List<String>> getParameters()
URI getEndpoint()
HttpMethodName getHttpMethod()
int getTimeOffset()
InputStream getContent()
InputStream getContentUnwrapped()
ReadLimitInfo getReadLimitInfo()
Object getOriginalRequestObject()
Object
.void setContent(InputStream content)
content
- The optional stream containing the payload data to include for
this request.Copyright © 2016. All rights reserved.