public class Constants extends Object
限定符和类型 | 字段和说明 |
---|---|
static String |
DEFAULT_ENCODING
Default encoding used for text data
|
static int |
DEFAULT_STREAM_BUFFER_SIZE
The default size of the buffer when uploading data from a stream.
|
static int |
FAILED_PRECONDITION_STATUS_CODE
HTTP status code indicating that preconditions failed and thus the
request failed.
|
static long |
GB
Gigabytes
|
static String |
HMAC_SHA1_ALGORITHM
HMAC/SHA1 Algorithm per RFC 2104, used when signing S3 requests
|
static int |
KB
Kilobytes
|
static int |
MAXIMUM_UPLOAD_PARTS
The maximum allowed parts in a multipart upload.
|
static int |
MB
Megabytes
|
static String |
NULL_VERSION_ID
Represents a null S3 version ID
|
static String |
S3_HOSTNAME
Default hostname for the SCS service endpoint
|
static String |
S3_SERVICE_NAME
Service name for Amazon S3
|
static String |
S3_UPLOAD_HOSTNAME
Default hostname for the SCS upload endpoint
|
构造器和说明 |
---|
Constants() |
public static String S3_HOSTNAME
public static String S3_UPLOAD_HOSTNAME
public static String S3_SERVICE_NAME
public static String DEFAULT_ENCODING
public static final String HMAC_SHA1_ALGORITHM
public static final String NULL_VERSION_ID
public static final int FAILED_PRECONDITION_STATUS_CODE
public static final int KB
public static final int MB
public static final long GB
public static final int MAXIMUM_UPLOAD_PARTS
public static final int DEFAULT_STREAM_BUFFER_SIZE
Copyright © 2016. All rights reserved.