com.amazonaws.services.s3
Interface Headers


public interface Headers

Common S3 HTTP header values used throughout the AWS S3 Java client.


Field Summary
static java.lang.String AMAZON_PREFIX
          Prefix for general Amazon headers: x-amz-
static java.lang.String CACHE_CONTROL
           
static java.lang.String CONTENT_DISPOSITION
           
static java.lang.String CONTENT_ENCODING
           
static java.lang.String CONTENT_LENGTH
           
static java.lang.String CONTENT_MD5
           
static java.lang.String CONTENT_RANGE
           
static java.lang.String CONTENT_TYPE
           
static java.lang.String COPY_PART_RANGE
          Range header for the copy part request
static java.lang.String COPY_SOURCE_IF_MATCH
          ETag matching constraint header for the copy object request
static java.lang.String COPY_SOURCE_IF_MODIFIED_SINCE
          Modified since constraint header for the copy object request
static java.lang.String COPY_SOURCE_IF_NO_MATCH
          ETag non-matching constraint header for the copy object request
static java.lang.String COPY_SOURCE_IF_UNMODIFIED_SINCE
          Unmodified since constraint header for the copy object request
static java.lang.String COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM
          Header for the encryption algorithm used when encrypting the object with customer-provided keys
static java.lang.String COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY
          Header for the customer-provided key for server-side encryption
static java.lang.String COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY_MD5
          Header for the MD5 digest of the customer-provided key for server-side encryption
static java.lang.String CRYPTO_CEK_ALGORITHM
          Content encryption algorithm, such as "AES/GCM/NoPadding".
static java.lang.String CRYPTO_INSTRUCTION_FILE
          Instruction file header to be placed in the metadata of instruction files
static java.lang.String CRYPTO_IV
          Initialization vector (IV) header that is used in the symmetric and envelope encryption mechanisms
static java.lang.String CRYPTO_KEY
          Encrypted symmetric key header that is used in the Encryption Only (EO) envelope encryption mechanism.
static java.lang.String CRYPTO_KEY_V2
          Encrypted symmetric key header that is used in the Authenticated Encryption (AE) cryptographic module.
static java.lang.String CRYPTO_KEYWRAP_ALGORITHM
          Key wrapping algorithm such as "AESWrap" and "RSA/ECB/OAEPWithSHA-256AndMGF1Padding".
static java.lang.String CRYPTO_TAG_LENGTH
          Tag length applicable to authenticated encrypt/decryption.
static java.lang.String DATE
           
static java.lang.String ETAG
           
static java.lang.String EXPIRATION
          Header for optional object expiration
static java.lang.String EXPIRES
          Header for optional object expiration
static java.lang.String EXTENDED_REQUEST_ID
          S3 response header for a request's extended debugging ID
static java.lang.String GET_OBJECT_IF_MATCH
          ETag matching constraint header for the get object request
static java.lang.String GET_OBJECT_IF_MODIFIED_SINCE
          Modified since constraint header for the get object request
static java.lang.String GET_OBJECT_IF_NONE_MATCH
          ETag non-matching constraint header for the get object request
static java.lang.String GET_OBJECT_IF_UNMODIFIED_SINCE
          Unmodified since constraint header for the get object request
static java.lang.String LAST_MODIFIED
           
static java.lang.String MATERIALS_DESCRIPTION
          JSON-encoded description of encryption materials used during encryption
static java.lang.String METADATA_DIRECTIVE
          S3 request header indicating how to handle metadata when copying an object
static java.lang.String RANGE
          Range header for the get object request
static java.lang.String REDIRECT_LOCATION
          Header for optional redirect location of an object
static java.lang.String REQUEST_ID
          S3 response header for a request's AWS request ID
static java.lang.String REQUESTER_CHARGED_HEADER
          Header in the response indicating that the requester has been charged for the request.
static java.lang.String REQUESTER_PAYS_HEADER
          Headers in request indicating that the requester must be charged for data transfer.
static java.lang.String RESTORE
          Header for the optional restore information of an object
static java.lang.String S3_ALTERNATE_DATE
          Amazon's alternative date header: x-amz-date
static java.lang.String S3_CANNED_ACL
          S3's canned ACL header: x-amz-acl
static java.lang.String S3_MFA
          S3's Multi-Factor Authentication header
static java.lang.String S3_USER_METADATA_PREFIX
          Prefix for S3 user metadata: x-amz-meta-
static java.lang.String S3_VERSION_ID
          S3's version ID header
static java.lang.String SECURITY_TOKEN
          DevPay token header
static java.lang.String SERVER
           
static java.lang.String SERVER_SIDE_ENCRYPTION
          Header for optional server-side encryption algorithm
static java.lang.String SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM
          Header for the encryption algorithm used when encrypting the object with customer-provided keys
static java.lang.String SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY
          Header for the customer-provided key for server-side encryption
static java.lang.String SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY_MD5
          Header for the MD5 digest of the customer-provided key for server-side encryption
static java.lang.String STORAGE_CLASS
          Header describing what class of storage a user wants
static java.lang.String UNENCRYPTED_CONTENT_LENGTH
          Header for the original, unencrypted size of an encrypted object
static java.lang.String UNENCRYPTED_CONTENT_MD5
          Header for the optional original unencrypted Content MD5 of an encrypted object
 

Field Detail

CACHE_CONTROL

static final java.lang.String CACHE_CONTROL
See Also:
Constant Field Values

CONTENT_DISPOSITION

static final java.lang.String CONTENT_DISPOSITION
See Also:
Constant Field Values

CONTENT_ENCODING

static final java.lang.String CONTENT_ENCODING
See Also:
Constant Field Values

CONTENT_LENGTH

static final java.lang.String CONTENT_LENGTH
See Also:
Constant Field Values

CONTENT_RANGE

static final java.lang.String CONTENT_RANGE
See Also:
Constant Field Values

CONTENT_MD5

static final java.lang.String CONTENT_MD5
See Also:
Constant Field Values

CONTENT_TYPE

static final java.lang.String CONTENT_TYPE
See Also:
Constant Field Values

DATE

static final java.lang.String DATE
See Also:
Constant Field Values

ETAG

static final java.lang.String ETAG
See Also:
Constant Field Values

LAST_MODIFIED

static final java.lang.String LAST_MODIFIED
See Also:
Constant Field Values

SERVER

static final java.lang.String SERVER
See Also:
Constant Field Values

AMAZON_PREFIX

static final java.lang.String AMAZON_PREFIX
Prefix for general Amazon headers: x-amz-

See Also:
Constant Field Values

S3_CANNED_ACL

static final java.lang.String S3_CANNED_ACL
S3's canned ACL header: x-amz-acl

See Also:
Constant Field Values

S3_ALTERNATE_DATE

static final java.lang.String S3_ALTERNATE_DATE
Amazon's alternative date header: x-amz-date

See Also:
Constant Field Values

S3_USER_METADATA_PREFIX

static final java.lang.String S3_USER_METADATA_PREFIX
Prefix for S3 user metadata: x-amz-meta-

See Also:
Constant Field Values

S3_VERSION_ID

static final java.lang.String S3_VERSION_ID
S3's version ID header

See Also:
Constant Field Values

S3_MFA

static final java.lang.String S3_MFA
S3's Multi-Factor Authentication header

See Also:
Constant Field Values

REQUEST_ID

static final java.lang.String REQUEST_ID
S3 response header for a request's AWS request ID

See Also:
Constant Field Values

EXTENDED_REQUEST_ID

static final java.lang.String EXTENDED_REQUEST_ID
S3 response header for a request's extended debugging ID

See Also:
Constant Field Values

METADATA_DIRECTIVE

static final java.lang.String METADATA_DIRECTIVE
S3 request header indicating how to handle metadata when copying an object

See Also:
Constant Field Values

SECURITY_TOKEN

static final java.lang.String SECURITY_TOKEN
DevPay token header

See Also:
Constant Field Values

STORAGE_CLASS

static final java.lang.String STORAGE_CLASS
Header describing what class of storage a user wants

See Also:
Constant Field Values

SERVER_SIDE_ENCRYPTION

static final java.lang.String SERVER_SIDE_ENCRYPTION
Header for optional server-side encryption algorithm

See Also:
Constant Field Values

SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM

static final java.lang.String SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM
Header for the encryption algorithm used when encrypting the object with customer-provided keys

See Also:
Constant Field Values

SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY

static final java.lang.String SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY
Header for the customer-provided key for server-side encryption

See Also:
Constant Field Values

SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY_MD5

static final java.lang.String SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY_MD5
Header for the MD5 digest of the customer-provided key for server-side encryption

See Also:
Constant Field Values

COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM

static final java.lang.String COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM
Header for the encryption algorithm used when encrypting the object with customer-provided keys

See Also:
Constant Field Values

COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY

static final java.lang.String COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY
Header for the customer-provided key for server-side encryption

See Also:
Constant Field Values

COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY_MD5

static final java.lang.String COPY_SOURCE_SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY_MD5
Header for the MD5 digest of the customer-provided key for server-side encryption

See Also:
Constant Field Values

EXPIRATION

static final java.lang.String EXPIRATION
Header for optional object expiration

See Also:
Constant Field Values

EXPIRES

static final java.lang.String EXPIRES
Header for optional object expiration

See Also:
Constant Field Values

COPY_SOURCE_IF_MATCH

static final java.lang.String COPY_SOURCE_IF_MATCH
ETag matching constraint header for the copy object request

See Also:
Constant Field Values

COPY_SOURCE_IF_NO_MATCH

static final java.lang.String COPY_SOURCE_IF_NO_MATCH
ETag non-matching constraint header for the copy object request

See Also:
Constant Field Values

COPY_SOURCE_IF_UNMODIFIED_SINCE

static final java.lang.String COPY_SOURCE_IF_UNMODIFIED_SINCE
Unmodified since constraint header for the copy object request

See Also:
Constant Field Values

COPY_SOURCE_IF_MODIFIED_SINCE

static final java.lang.String COPY_SOURCE_IF_MODIFIED_SINCE
Modified since constraint header for the copy object request

See Also:
Constant Field Values

RANGE

static final java.lang.String RANGE
Range header for the get object request

See Also:
Constant Field Values

COPY_PART_RANGE

static final java.lang.String COPY_PART_RANGE
Range header for the copy part request

See Also:
Constant Field Values

GET_OBJECT_IF_MODIFIED_SINCE

static final java.lang.String GET_OBJECT_IF_MODIFIED_SINCE
Modified since constraint header for the get object request

See Also:
Constant Field Values

GET_OBJECT_IF_UNMODIFIED_SINCE

static final java.lang.String GET_OBJECT_IF_UNMODIFIED_SINCE
Unmodified since constraint header for the get object request

See Also:
Constant Field Values

GET_OBJECT_IF_MATCH

static final java.lang.String GET_OBJECT_IF_MATCH
ETag matching constraint header for the get object request

See Also:
Constant Field Values

GET_OBJECT_IF_NONE_MATCH

static final java.lang.String GET_OBJECT_IF_NONE_MATCH
ETag non-matching constraint header for the get object request

See Also:
Constant Field Values

CRYPTO_KEY

static final java.lang.String CRYPTO_KEY
Encrypted symmetric key header that is used in the Encryption Only (EO) envelope encryption mechanism.

See Also:
Constant Field Values

CRYPTO_KEY_V2

static final java.lang.String CRYPTO_KEY_V2
Encrypted symmetric key header that is used in the Authenticated Encryption (AE) cryptographic module. Older versions of S3 encryption client with encryption-only capability would not be able to recognize this AE key, and therefore will be prevented from mistakenly decrypting ciphertext in AE format.

See Also:
Constant Field Values

CRYPTO_IV

static final java.lang.String CRYPTO_IV
Initialization vector (IV) header that is used in the symmetric and envelope encryption mechanisms

See Also:
Constant Field Values

MATERIALS_DESCRIPTION

static final java.lang.String MATERIALS_DESCRIPTION
JSON-encoded description of encryption materials used during encryption

See Also:
Constant Field Values

CRYPTO_INSTRUCTION_FILE

static final java.lang.String CRYPTO_INSTRUCTION_FILE
Instruction file header to be placed in the metadata of instruction files

See Also:
Constant Field Values

UNENCRYPTED_CONTENT_LENGTH

static final java.lang.String UNENCRYPTED_CONTENT_LENGTH
Header for the original, unencrypted size of an encrypted object

See Also:
Constant Field Values

UNENCRYPTED_CONTENT_MD5

static final java.lang.String UNENCRYPTED_CONTENT_MD5
Header for the optional original unencrypted Content MD5 of an encrypted object

See Also:
Constant Field Values

REDIRECT_LOCATION

static final java.lang.String REDIRECT_LOCATION
Header for optional redirect location of an object

See Also:
Constant Field Values

RESTORE

static final java.lang.String RESTORE
Header for the optional restore information of an object

See Also:
Constant Field Values

CRYPTO_KEYWRAP_ALGORITHM

static final java.lang.String CRYPTO_KEYWRAP_ALGORITHM
Key wrapping algorithm such as "AESWrap" and "RSA/ECB/OAEPWithSHA-256AndMGF1Padding".

See Also:
Constant Field Values

CRYPTO_CEK_ALGORITHM

static final java.lang.String CRYPTO_CEK_ALGORITHM
Content encryption algorithm, such as "AES/GCM/NoPadding".

See Also:
Constant Field Values

CRYPTO_TAG_LENGTH

static final java.lang.String CRYPTO_TAG_LENGTH
Tag length applicable to authenticated encrypt/decryption.

See Also:
Constant Field Values

REQUESTER_PAYS_HEADER

static final java.lang.String REQUESTER_PAYS_HEADER
Headers in request indicating that the requester must be charged for data transfer.

See Also:
Constant Field Values

REQUESTER_CHARGED_HEADER

static final java.lang.String REQUESTER_CHARGED_HEADER
Header in the response indicating that the requester has been charged for the request.

See Also:
Constant Field Values


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.