Package | Description |
---|---|
com.amazonaws |
The amazonaws package includes classes commonly used to support the AWS SDK for Android.
|
com.amazonaws.auth | |
com.amazonaws.handlers | |
com.amazonaws.http | |
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.util |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRequest<T>
Default implementation of the Request interface.
|
Modifier and Type | Method and Description |
---|---|
Request<T> |
Request.withParameter(String name,
String value)
Adds the specified request parameter to this request, and returns the
updated request object.
|
Request<T> |
DefaultRequest.withParameter(String name,
String value) |
Request<T> |
Request.withTimeOffset(int timeOffset)
Sets the optional value for time offset for this request.
|
Request<T> |
DefaultRequest.withTimeOffset(int timeOffset) |
Modifier and Type | Method and Description |
---|---|
protected ExecutionContext |
AmazonWebServiceClient.createExecutionContext(Request<?> req) |
protected void |
AmazonWebServiceClient.endClientExecution(AWSRequestMetrics awsRequestMetrics,
Request<?> request,
Response<?> response)
Deprecated.
metrics is deprecated
|
protected void |
AmazonWebServiceClient.endClientExecution(AWSRequestMetrics awsRequestMetrics,
Request<?> request,
Response<?> response,
boolean loggingAwsRequestMetrics)
Deprecated.
metrics is deprecated
|
protected RequestMetricCollector |
AmazonWebServiceClient.findRequestMetricCollector(Request<?> req)
Deprecated.
metrics is deprecated
|
Modifier and Type | Method and Description |
---|---|
protected void |
AWS4Signer.addHostHeader(Request<?> request) |
protected void |
AWS4Signer.addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials) |
protected void |
AWS3Signer.addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials) |
protected abstract void |
AbstractAWSSigner.addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials)
Adds session credentials to the request given.
|
protected void |
QueryStringSigner.addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials) |
protected String |
AWS4Signer.calculateContentHash(Request<?> request)
Calculate the hash of the request's payload.
|
protected String |
AWS4Signer.calculateContentHashPresign(Request<?> request)
Calculate the hash of the request's payload.
|
protected AWS4Signer.HeaderSigningResult |
AWS4Signer.computeSignature(Request<?> request,
String dateStamp,
String timeStamp,
String algorithm,
String contentSha256,
AWSCredentials sanitizedCredentials) |
protected byte[] |
AbstractAWSSigner.getBinaryRequestPayload(Request<?> request)
Returns the request's payload as binary data.
|
protected InputStream |
AbstractAWSSigner.getBinaryRequestPayloadStream(Request<?> request) |
protected InputStream |
AbstractAWSSigner.getBinaryRequestPayloadStreamWithoutQueryParams(Request<?> request) |
protected byte[] |
AbstractAWSSigner.getBinaryRequestPayloadWithoutQueryParams(Request<?> request)
Returns the request's payload contents as binary data, without processing
any query string params (i.e.
|
protected String |
AWS3Signer.getCanonicalizedHeadersForStringToSign(Request<?> request) |
protected String |
AWS4Signer.getCanonicalizedHeaderString(Request<?> request) |
protected String |
AbstractAWSSigner.getCanonicalizedQueryString(Request<?> request) |
protected String |
AWS4Signer.getCanonicalRequest(Request<?> request,
String contentSha256) |
protected long |
AWS4Signer.getDateFromRequest(Request<?> request) |
protected List<String> |
AWS3Signer.getHeadersForStringToSign(Request<?> request) |
protected String |
AbstractAWSSigner.getRequestPayload(Request<?> request)
Returns the request's payload as a String.
|
protected String |
AbstractAWSSigner.getRequestPayloadWithoutQueryParams(Request<?> request)
Returns the request's payload contents as a String, without processing
any query string params (i.e.
|
protected String |
AWS4Signer.getScope(Request<?> request,
String dateStamp) |
protected String |
AWS4Signer.getSignedHeadersString(Request<?> request) |
protected int |
AbstractAWSSigner.getTimeOffset(Request<?> request) |
void |
AWS4Signer.presignRequest(Request<?> request,
AWSCredentials credentials,
Date expiration) |
void |
Presigner.presignRequest(Request<?> request,
AWSCredentials credentials,
Date expiration)
Signs the request by adding the signature to the URL rather than as a
header.
|
protected void |
AWS4Signer.processRequestPayload(Request<?> request,
AWS4Signer.HeaderSigningResult headerSigningResult)
Subclass could override this method to perform any additional procedure
on the request payload, with access to the result from signing the
header.
|
void |
AWS4Signer.sign(Request<?> request,
AWSCredentials credentials) |
void |
AWS3Signer.sign(Request<?> request,
AWSCredentials credentials)
Signs the specified request with the AWS3 signing protocol by using the
AWS account credentials specified when this object was constructed and
adding the required AWS3 headers to the request.
|
void |
NoOpSigner.sign(Request<?> request,
AWSCredentials credentials) |
void |
Signer.sign(Request<?> request,
AWSCredentials credentials)
Sign the given request with the given set of credentials.
|
void |
QueryStringSigner.sign(Request<?> request,
AWSCredentials credentials)
This signer will add "Signature" parameter to the request.
|
void |
QueryStringSigner.sign(Request<?> request,
SignatureVersion version,
SigningAlgorithm algorithm,
AWSCredentials credentials)
This signer will add following authentication parameters to the request:
AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
|
Modifier and Type | Method and Description |
---|---|
void |
RequestHandler.afterError(Request<?> request,
Exception e)
Deprecated.
Runs any additional processing logic on a request after it has failed.
|
void |
AbstractRequestHandler.afterError(Request<?> request,
Exception e)
Deprecated.
|
abstract void |
RequestHandler2.afterError(Request<?> request,
Response<?> response,
Exception e)
Runs any additional processing logic on a request after it has failed.
|
void |
RequestHandler.afterResponse(Request<?> request,
Object response,
TimingInfo timingInfo)
Deprecated.
Runs any additional processing logic on the specified request (after is
has been executed by the client runtime).
|
void |
AbstractRequestHandler.afterResponse(Request<?> request,
Object response,
TimingInfo timingInfo)
Deprecated.
|
abstract void |
RequestHandler2.afterResponse(Request<?> request,
Response<?> response)
Runs any additional processing logic on the specified request (after is
has been executed by the client runtime).
|
void |
RequestHandler.beforeRequest(Request<?> request)
Deprecated.
Runs any additional processing logic on the specified request (before it
is executed by the client runtime).
|
void |
AbstractRequestHandler.beforeRequest(Request<?> request)
Deprecated.
|
abstract void |
RequestHandler2.beforeRequest(Request<?> request)
Runs any additional processing logic on the specified request (before it
is executed by the client runtime).
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequestFactory.createHttpRequest(Request<?> request,
ClientConfiguration clientConfiguration,
ExecutionContext context)
Creates an
HttpClient request object based on the specified AWS
request and populates any parameters, headers, etc. |
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Executes the request and returns the result.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
RequestMetricCollector.collectMetrics(Request<?> request,
Response<?> response)
Used to collect the metric at the end of a request/response cycle.
|
Modifier and Type | Method and Description |
---|---|
static URL |
RuntimeHttpUtils.convertRequestToUrl(Request<?> request,
boolean removeLeadingSlashInResourcePath,
boolean urlEncode)
Converts the specified request object into a URL, containing all the
specified parameters, the specified request endpoint, etc.
|
static String |
HttpUtils.encodeParameters(Request<?> request)
Creates an encoded query string from all the parameters in the specified
request.
|
static boolean |
HttpUtils.usePayloadForQueryParameters(Request<?> request) |
Copyright © 2018. All rights reserved.