Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
static HttpMethod |
HttpMethod.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.net.URL |
AmazonS3Client.generatePresignedUrl(java.lang.String bucketName,
java.lang.String key,
java.util.Date expiration,
HttpMethod method) |
java.net.URL |
AmazonS3.generatePresignedUrl(java.lang.String bucketName,
java.lang.String key,
java.util.Date expiration,
HttpMethod method)
Returns a pre-signed URL for accessing an Amazon S3 resource.
|
java.net.URL |
AbstractAmazonS3.generatePresignedUrl(java.lang.String bucketName,
java.lang.String key,
java.util.Date expiration,
HttpMethod method) |
protected <T> void |
AmazonS3Client.presignRequest(Request<T> request,
HttpMethod methodName,
java.lang.String bucketName,
java.lang.String key,
java.util.Date expiration,
java.lang.String subResource)
Pre-signs the specified request, using a signature query-string
parameter.
|
Modifier and Type | Field and Description |
---|---|
private HttpMethod |
GeneratePresignedUrlRequest.method
The HTTP method (GET, PUT, DELETE, HEAD) to be used in this request and when the pre-signed URL is used
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
GeneratePresignedUrlRequest.getMethod()
The HTTP method (GET, PUT, DELETE, HEAD) to be used in this request.
|
Modifier and Type | Method and Description |
---|---|
void |
GeneratePresignedUrlRequest.setMethod(HttpMethod method)
Sets the HTTP method (GET, PUT, DELETE, HEAD) to be used in this request.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withMethod(HttpMethod method)
Sets the HTTP method (GET, PUT, DELETE, HEAD) to be used in this request,
and returns this request object to enable additional method calls to be
chained together.
|
Constructor and Description |
---|
GeneratePresignedUrlRequest(java.lang.String bucketName,
java.lang.String key,
HttpMethod method)
Creates a new request for generating a pre-signed URL that can be used as
part of an HTTP request to access the specified Amazon S3 resource.
|