com.netease.cloud.services.nos.internal
public class Constants extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFFER_SIZE
The default size of the buffer when uploading part from a stream ,also is
the min size of part(not including the last part).
|
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 NOS requests
|
static int |
KB
Kilobytes
|
static int |
MAXIMUM_UPLOAD_PARTS
The maximum allowed parts in a multipart upload.
|
static int |
MB
Megabytes
|
static String |
NOS_HOST_NAME
Default hostname for the NOS service endpoint
|
static String |
NOS_SERVICE_NAME
Service name for Netease cloud NOS
|
static String |
NULL_VERSION_ID
Represents a null NOS version ID
|
static String |
PARAM_LOG_ID
debug log id param name
|
static String |
PARAM_LOG_SEQ
debug log sequence param name
|
static String |
PROJECT_NAME |
static String |
XML_NAMESPACE
XML namespace URL used when sending NOS requests containing XML
|
Constructor and Description |
---|
Constants() |
public static String NOS_HOST_NAME
public static String PROJECT_NAME
public static String NOS_SERVICE_NAME
public static String DEFAULT_ENCODING
public static final String HMAC_SHA1_ALGORITHM
public static final String XML_NAMESPACE
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
public static final int DEFAULT_BUFFER_SIZE
public static final String PARAM_LOG_ID
public static final String PARAM_LOG_SEQ
Copyright © 2017. All Rights Reserved.