QueryStringAuthGenerator Class Reference
List of all members.
|
Public Member Functions |
| String | createBucket (String bucket, Map headers) |
| String | delete (String bucket, String key, Map headers) |
| String | deleteBucket (String bucket, Map headers) |
| String | get (String bucket, String key, Map headers) |
| String | getACL (String bucket, String key, Map headers) |
| String | getBucketACL (String bucket, Map headers) |
| String | listAllMyBuckets (Map headers) |
| String | listBucket (String bucket, String prefix, String marker, Integer maxKeys, Map headers) |
| String | makeBareURL (String bucket, String key) |
| String | put (String bucket, String key, S3Object object, Map headers) |
| String | putACL (String bucket, String key, String aclXMLDoc, Map headers) |
| String | putBucketACL (String bucket, String aclXMLDoc, Map headers) |
| | QueryStringAuthGenerator (String awsAccessKeyId, String awsSecretAccessKey, boolean isSecure, String server, int port) |
| | QueryStringAuthGenerator (String awsAccessKeyId, String awsSecretAccessKey, boolean isSecure, String server) |
| | QueryStringAuthGenerator (String awsAccessKeyId, String awsSecretAccessKey, boolean isSecure) |
| | QueryStringAuthGenerator (String awsAccessKeyId, String awsSecretAccessKey) |
| void | setExpires (long millisSinceEpoch) |
| void | setExpiresIn (long millis) |
Private Member Functions |
| String | generateURL (String method, String path, Map headers) |
| Map | mergeMeta (Map headers, Map metadata) |
Private Attributes |
| String | awsAccessKeyId |
| String | awsSecretAccessKey |
| Long | expires = null |
| Long | expiresIn = null |
| boolean | isSecure |
| int | port |
| String | server |
Static Private Attributes |
| static final Long | DEFAULT_EXPIRES_IN = new Long(60 * 1000) |
Detailed Description
This class mimics the behavior of
AWSAuthConnection, except instead of actually performing the operation,
QueryStringAuthGenerator will return URLs with query string parameters that can be used to do the same thing. These parameters include an expiration date, so that if you hand them off to someone else, they will only work for a limited amount of time.
Constructor & Destructor Documentation
Member Function Documentation
| String listAllMyBuckets |
( |
Map |
headers |
) |
|
| Map mergeMeta |
( |
Map |
headers, |
|
|
Map |
metadata | |
|
) |
| | [private] |
| void setExpires |
( |
long |
millisSinceEpoch |
) |
|
| void setExpiresIn |
( |
long |
millis |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: