Skip navigation links
A B C D E F G H I J L M N P R S T U V W 

A

AbstractBceClient - Class in com.baidubce
Abstract base class for BCE service clients.
AbstractBceClient(BceClientConfiguration, HttpResponseHandler[], boolean) - Constructor for class com.baidubce.AbstractBceClient
Constructs a new AbstractBceClient with the specified client configuration and handlers.
AbstractBceClient(BceClientConfiguration, HttpResponseHandler[]) - Constructor for class com.baidubce.AbstractBceClient
Equivalent to AbstractBceClient(config, responseHandlers, false)
AbstractBceRequest - Class in com.baidubce.model
Base class for all BCE web service request objects.
AbstractBceRequest() - Constructor for class com.baidubce.model.AbstractBceRequest
 
AbstractBceResponse - Class in com.baidubce.model
Represents the response from an BCE service, including the result payload and any response metadata.
AbstractBceResponse() - Constructor for class com.baidubce.model.AbstractBceResponse
 
AbstractBceStreamResponse - Class in com.baidubce.model
Abstract response class for BCE responses that contain a file stream.
AbstractBceStreamResponse() - Constructor for class com.baidubce.model.AbstractBceStreamResponse
 
addHeader(Header) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
addHeader(String, String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
addHeader(String, String) - Method in class com.baidubce.internal.BaseRequest
 
addHeader(String, String) - Method in class com.baidubce.internal.InternalRequest
 
addHeadersToSign(String) - Method in class com.baidubce.auth.SignOptions
Add the key of headers to be signed.
addParameter(String, String) - Method in class com.baidubce.internal.BaseRequest
 
addParameter(String, String) - Method in class com.baidubce.internal.InternalRequest
 
ApiInfo - Class in com.baidubce.common
Api info for v2 client to create request
ApiInfo(HttpMethodName, ApiPath, Map<String, String>, Map<String, String>) - Constructor for class com.baidubce.common.ApiInfo
 
ApiInfo(ApiInfo) - Constructor for class com.baidubce.common.ApiInfo
 
ApiPath - Class in com.baidubce.common
Api path for v2 client to create request
ApiPath(String) - Constructor for class com.baidubce.common.ApiPath
 
appendUri(URI, String...) - Static method in class com.baidubce.util.HttpUtils
Append the given path to the given baseUri.
AUTHORIZATION - Static variable in interface com.baidubce.http.Headers
 

B

Base64Utils - Class in com.baidubce.util
Utility methods for encoding and decoding base64.
Base64Utils() - Constructor for class com.baidubce.util.Base64Utils
 
BaseBceRequest - Class in com.baidubce.common
Base class for all BCE web service request objects.
BaseBceRequest() - Constructor for class com.baidubce.common.BaseBceRequest
 
BaseBceResponse - Class in com.baidubce.common
Base bce response
BaseBceResponse() - Constructor for class com.baidubce.common.BaseBceResponse
 
BaseRequest - Class in com.baidubce.internal
Represents a base request being sent to a BCE Service, including the parameters being sent as part of the request, the endpoint to which the request should be sent, etc.
BaseRequest(HttpMethodName, String, Map<String, String>, Map<String, String>) - Constructor for class com.baidubce.internal.BaseRequest
 
BCE_ACL - Static variable in interface com.baidubce.http.Headers
 
BCE_ACL_GRANT_FULL_CONTROL - Static variable in interface com.baidubce.http.Headers
 
BCE_ACL_GRANT_READ - Static variable in interface com.baidubce.http.Headers
 
BCE_BUCKET_TYPE - Static variable in interface com.baidubce.http.Headers
 
BCE_CONSISTENCY_VIEW - Static variable in interface com.baidubce.http.Headers
 
BCE_CONTENT_CRC32 - Static variable in interface com.baidubce.http.Headers
 
BCE_CONTENT_CRC32C - Static variable in interface com.baidubce.http.Headers
 
BCE_CONTENT_CRC32C_FLAG - Static variable in interface com.baidubce.http.Headers
 
BCE_CONTENT_SHA256 - Static variable in interface com.baidubce.http.Headers
 
BCE_COPY_METADATA_DIRECTIVE - Static variable in interface com.baidubce.http.Headers
 
BCE_COPY_SOURCE - Static variable in interface com.baidubce.http.Headers
 
BCE_COPY_SOURCE_IF_MATCH - Static variable in interface com.baidubce.http.Headers
 
BCE_COPY_SOURCE_IF_MODIFIED_SINCE - Static variable in interface com.baidubce.http.Headers
 
BCE_COPY_SOURCE_IF_NONE_MATCH - Static variable in interface com.baidubce.http.Headers
 
BCE_COPY_SOURCE_IF_UNMODIFIED_SINCE - Static variable in interface com.baidubce.http.Headers
 
BCE_COPY_SOURCE_RANGE - Static variable in interface com.baidubce.http.Headers
 
BCE_DATE - Static variable in interface com.baidubce.http.Headers
 
BCE_DEBUG_ID - Static variable in interface com.baidubce.http.Headers
 
BCE_DELETE_RECURSIVE - Static variable in interface com.baidubce.http.Headers
 
BCE_DELETE_TOKEN - Static variable in interface com.baidubce.http.Headers
 
BCE_FETCH_CALLBACK_ADDRESS - Static variable in interface com.baidubce.http.Headers
 
BCE_FETCH_MODE - Static variable in interface com.baidubce.http.Headers
 
BCE_FETCH_SOURCE - Static variable in interface com.baidubce.http.Headers
 
BCE_FETCH_USER_AGENT - Static variable in interface com.baidubce.http.Headers
 
BCE_FORBID_OVERWRITE - Static variable in interface com.baidubce.http.Headers
 
BCE_LIST_WITH_EXT_META - Static variable in interface com.baidubce.http.Headers
 
BCE_LOG_RESULT - Static variable in interface com.baidubce.http.Headers
 
BCE_NEXT_APPEND_OFFSET - Static variable in interface com.baidubce.http.Headers
 
BCE_OBJECT_TYPE - Static variable in interface com.baidubce.http.Headers
 
BCE_PREFIX - Static variable in interface com.baidubce.http.Headers
 
BCE_REFERER - Static variable in interface com.baidubce.http.Headers
 
BCE_REQUEST_ID - Static variable in interface com.baidubce.http.Headers
 
BCE_RESTORE - Static variable in interface com.baidubce.http.Headers
 
BCE_RESTORE_DAYS - Static variable in interface com.baidubce.http.Headers
 
BCE_RESTORE_TIER - Static variable in interface com.baidubce.http.Headers
 
BCE_SECURITY_TOKEN - Static variable in interface com.baidubce.http.Headers
 
BCE_STORAGE_CLASS - Static variable in interface com.baidubce.http.Headers
 
BCE_SYMLINK_TARGET - Static variable in interface com.baidubce.http.Headers
 
BCE_TAG_LIST - Static variable in interface com.baidubce.http.Headers
 
BCE_USER_METADATA_PREFIX - Static variable in interface com.baidubce.http.Headers
 
BCE_VERSION_ID - Static variable in interface com.baidubce.http.Headers
 
BCE_VERSIONING - Static variable in interface com.baidubce.http.Headers
 
BceClientConfiguration - Class in com.baidubce
Basic client configurations for BCE clients.
BceClientConfiguration() - Constructor for class com.baidubce.BceClientConfiguration
Constructs a new BceClientConfiguration instance with default settings.
BceClientConfiguration(BceClientConfiguration) - Constructor for class com.baidubce.BceClientConfiguration
Constructs a new BceClientConfiguration instance with the same settings as the specified configuration.
BceClientConfiguration(BceClientConfiguration, String) - Constructor for class com.baidubce.BceClientConfiguration
Constructs a new BceClientConfiguration instance with the same settings as the specified configuration.
BceClientException - Exception in com.baidubce
Base exception class for any errors that occur on the client side when attempting to access a BCE service API.
BceClientException(String) - Constructor for exception com.baidubce.BceClientException
Constructs a new BceClientException with the specified detail message.
BceClientException(String, Throwable) - Constructor for exception com.baidubce.BceClientException
Constructs a new BceClientException with the specified detail message and the underlying cause.
BceCloseableHttpResponse - Class in com.baidubce.http
The implement from interface CloseableHttpResponse.
BceCloseableHttpResponse(HttpResponse) - Constructor for class com.baidubce.http.BceCloseableHttpResponse
 
BceConstants - Class in com.baidubce
Common constants used by the whole SDK.
BceConstants() - Constructor for class com.baidubce.BceConstants
 
BceCredentials - Interface in com.baidubce.auth
Provides access to the BCE credentials used for accessing BCE services: BCE access key ID and secret access key.
BceErrorResponse - Class in com.baidubce
 
BceErrorResponse() - Constructor for class com.baidubce.BceErrorResponse
 
BceErrorResponseHandler - Class in com.baidubce.http.handler
HTTP error response handler for Baidu BCE responses.
BceErrorResponseHandler() - Constructor for class com.baidubce.http.handler.BceErrorResponseHandler
 
BceHttpClient - Class in com.baidubce.http
 
BceHttpClient(BceClientConfiguration, Signer) - Constructor for class com.baidubce.http.BceHttpClient
Constructs a new BCE client using the specified client configuration options (ex: max retry attempts, proxy settings, etc), and request metric collector.
BceHttpClient(BceClientConfiguration, Signer, boolean) - Constructor for class com.baidubce.http.BceHttpClient
Constructs a new BCE Http Client with httpAsyncPutEnabled.
BceHttpResponse - Class in com.baidubce.http
Represents an HTTP response returned by a BCE service in response to a service request.
BceHttpResponse(CloseableHttpResponse) - Constructor for class com.baidubce.http.BceHttpResponse
 
BceJsonResponseHandler - Class in com.baidubce.http.handler
HTTP body json response handler for Baidu BCE responses.
BceJsonResponseHandler() - Constructor for class com.baidubce.http.handler.BceJsonResponseHandler
 
BceMetadataResponseHandler - Class in com.baidubce.http.handler
HTTP response handler for Baidu BCE responses.
BceMetadataResponseHandler() - Constructor for class com.baidubce.http.handler.BceMetadataResponseHandler
 
BceRegion - Enum in com.baidubce.common
Bce region
BceResponseMetadata - Class in com.baidubce
Represents additional metadata included with a response from BCE.
BceResponseMetadata() - Constructor for class com.baidubce.BceResponseMetadata
 
BceServiceException - Exception in com.baidubce
Extension of BceClientException that represents an error response returned by a BCE service.
BceServiceException(String) - Constructor for exception com.baidubce.BceServiceException
Constructs a new BceServiceException with the specified message.
BceServiceException(String, Exception) - Constructor for exception com.baidubce.BceServiceException
Constructs a new BceServiceException with the specified message and exception indicating the root cause.
BceServiceException.ErrorType - Enum in com.baidubce
Indicates who is responsible (if known) for a failed request.
BceSessionCredentials - Interface in com.baidubce.auth
Provides access to the BCE credentials used for accessing BCE services: BCE access key ID, secret access key and session token.
BceStreamResponseHandler - Class in com.baidubce.http.handler
HTTP response handler for BCE responses that contain a file stream.
BceStreamResponseHandler() - Constructor for class com.baidubce.http.handler.BceStreamResponseHandler
 
BceV1Signer - Class in com.baidubce.auth
The V1 implementation of Signer with the BCE signing protocol.
BceV1Signer() - Constructor for class com.baidubce.auth.BceV1Signer
 
BodyType - Enum in com.baidubce.http
Request body type enumeration.
BOS_PROCESS - Static variable in interface com.baidubce.http.Headers
 
BOS_TRAFFIC_LIMIT - Static variable in interface com.baidubce.http.Headers
 
buildHostEndpoint(URI, String) - Method in class com.baidubce.AbstractBceClient
根据 hostPrefix 构建新的 endpoint

C

CACHE_CONTROL - Static variable in interface com.baidubce.http.Headers
 
checkEmptyExceptionMessageFormat(String) - Static method in class com.baidubce.util.StringFormatUtils
 
checkIsTrue(boolean, String) - Static method in class com.baidubce.util.Validate
 
checkListNotEmpty(List<?>, String) - Static method in class com.baidubce.util.Validate
检查列表是否为空。
checkListSizeInRange(List<?>, int, String) - Static method in class com.baidubce.util.Validate
 
checkMultyParamsNotBothEmpty(List<String>, String) - Static method in class com.baidubce.util.Validate
 
checkNotNull(Object, String) - Static method in class com.baidubce.util.Validate
 
checkPattern(String, String, String) - Static method in class com.baidubce.util.Validate
 
checkResourceType(String) - Static method in class com.baidubce.util.Validate
 
checkStringNotEmpty(String, String) - Static method in class com.baidubce.util.Validate
 
checkValidValue(String, Class<?>, String) - Static method in class com.baidubce.util.Validate
 
close() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
close() - Method in class com.baidubce.internal.RestartableResettableInputStream
 
close() - Method in class com.baidubce.model.AbstractBceStreamResponse
Closes the content stream and the underlying HTTP response.
com.baidubce - package com.baidubce
 
com.baidubce.annotation - package com.baidubce.annotation
 
com.baidubce.auth - package com.baidubce.auth
 
com.baidubce.common - package com.baidubce.common
 
com.baidubce.http - package com.baidubce.http
 
com.baidubce.http.handler - package com.baidubce.http.handler
 
com.baidubce.internal - package com.baidubce.internal
 
com.baidubce.model - package com.baidubce.model
 
com.baidubce.util - package com.baidubce.util
 
computeBktVirEndpoint(String) - Method in class com.baidubce.AbstractBceClient
BOS
computeHash(InputStream, MessageDigest) - Static method in class com.baidubce.util.HashUtils
 
computeMd5Hash(InputStream) - Static method in class com.baidubce.util.HashUtils
Computes the MD5 hash of the data in the given input stream and returns it as an array of bytes.
computeServiceId() - Method in class com.baidubce.AbstractBceClient
Returns the service ID based on the actual class name.
computeSha256Hash(InputStream) - Static method in class com.baidubce.util.HashUtils
 
config - Variable in class com.baidubce.AbstractBceClient
The client configuration for this client.
config - Variable in class com.baidubce.http.BceHttpClient
Client configuration options, such as proxy settings, max retries, etc.
containsHeader(String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
CONTENT_DISPOSITION - Static variable in interface com.baidubce.http.Headers
 
CONTENT_ENCODING - Static variable in interface com.baidubce.http.Headers
 
CONTENT_LENGTH - Static variable in interface com.baidubce.http.Headers
 
CONTENT_MD5 - Static variable in interface com.baidubce.http.Headers
 
CONTENT_RANGE - Static variable in interface com.baidubce.http.Headers
 
CONTENT_TYPE - Static variable in interface com.baidubce.http.Headers
 
CONTENT_TYPE_FORM - Static variable in class com.baidubce.util.RequestBodyUtils
Form Content-Type
CONTENT_TYPE_JSON - Static variable in class com.baidubce.util.RequestBodyUtils
JSON Content-Type
CONTENT_TYPE_MULTIPART - Static variable in class com.baidubce.util.RequestBodyUtils
Multipart Form Data Content-Type
CONTENT_TYPE_OCTET_STREAM - Static variable in class com.baidubce.util.RequestBodyUtils
Octet Stream Content-Type
createHttpAsyncClient(NHttpClientConnectionManager) - Method in class com.baidubce.http.BceHttpClient
Create asynchronous http client based on connection manager.
createHttpContext(InternalRequest) - Method in class com.baidubce.http.BceHttpClient
Creates HttpClient Context object based on the internal request.
createHttpRequest(InternalRequest) - Method in class com.baidubce.http.BceHttpClient
Creates HttpClient method object based on the specified request and populates any parameters, headers, etc.
createNHttpClientConnectionManager() - Method in class com.baidubce.http.BceHttpClient
Create connection manager for asynchronous http client.
createRequest(AbstractBceRequest, HttpMethodName, String...) - Method in class com.baidubce.AbstractBceClient
创建内部请求对象,自动处理 @Host 注解
createRequest(AbstractBceRequest, HttpMethodName, SignOptions, String...) - Method in class com.baidubce.AbstractBceClient
创建内部请求对象,自动处理 @Host 注解,并支持自定义签名选项

D

DATE - Static variable in interface com.baidubce.http.Headers
 
DateUtils - Class in com.baidubce.util
Utilities for parsing and formatting dates.
DateUtils() - Constructor for class com.baidubce.util.DateUtils
 
decode(String) - Static method in class com.baidubce.util.Base64Utils
decode base64 string
DEFAULT - Static variable in class com.baidubce.auth.SignOptions
The default sign options, which is {headersToSign:null, timestamp:null, expirationInSeconds:1800}.
DEFAULT_CONNECTION_TIMEOUT_IN_MILLIS - Static variable in class com.baidubce.BceClientConfiguration
The default timeout for creating new connections.
DEFAULT_CONTENT_TYPE - Static variable in class com.baidubce.AbstractBceClient
The default http request content type for all BCE service APIs.
DEFAULT_DATETIME_FORMAT - Static variable in class com.baidubce.BceConstants
 
DEFAULT_ENCODING - Static variable in class com.baidubce.AbstractBceClient
The default string encoding for all BCE service APIs.
DEFAULT_EXPIRATION_IN_SECONDS - Static variable in class com.baidubce.auth.SignOptions
 
DEFAULT_MAX_CONNECTIONS - Static variable in class com.baidubce.BceClientConfiguration
The default max connection pool size.
DEFAULT_MAX_DELAY_IN_MILLIS - Static variable in interface com.baidubce.http.RetryPolicy
Maximum exponential back-off time before retrying a request.
DEFAULT_MAX_ERROR_RETRY - Static variable in interface com.baidubce.http.RetryPolicy
SDK default max retry count.
DEFAULT_MAX_EXPIRATION_IN_SECONDS - Static variable in class com.baidubce.auth.SignOptions
Deprecated.
DEFAULT_MIN_EXPIRATION_IN_SECONDS - Static variable in class com.baidubce.auth.SignOptions
Deprecated.
DEFAULT_PROTOCOL - Static variable in class com.baidubce.BceClientConfiguration
The default protocol.
DEFAULT_REGION - Static variable in class com.baidubce.BceClientConfiguration
The default region.
DEFAULT_RETRY_POLICY - Static variable in interface com.baidubce.http.RetryPolicy
SDK default retry policy.
DEFAULT_SERVICE_DOMAIN - Static variable in class com.baidubce.AbstractBceClient
The default service domain for BCE.
DEFAULT_SOCKET_TIMEOUT_IN_MILLIS - Static variable in class com.baidubce.BceClientConfiguration
The default timeout for reading from a connected socket.
DEFAULT_TIME_ZONE - Static variable in class com.baidubce.BceConstants
 
DEFAULT_USER_AGENT - Static variable in class com.baidubce.BceClientConfiguration
The default User-Agent header value when sending requests to the target service.
DefaultBceCredentials - Class in com.baidubce.auth
Default implementation of the Credentials interface that allows callers to pass in the BCE access key and secret access in the constructor.
DefaultBceCredentials(String, String) - Constructor for class com.baidubce.auth.DefaultBceCredentials
Constructs a new Credentials object, with the specified access key id and secret key.
DefaultRetryPolicy - Class in com.baidubce.http
Retry policy that can be configured on a specific service client using BceClientConfiguration.
DefaultRetryPolicy() - Constructor for class com.baidubce.http.DefaultRetryPolicy
Constructs a new DefaultRetryPolicy.
DefaultRetryPolicy(int, long) - Constructor for class com.baidubce.http.DefaultRetryPolicy
Constructs a new retry policy.

E

encode(String) - Static method in class com.baidubce.util.Base64Utils
Convert str to Base64
equals(String) - Method in enum com.baidubce.ErrorCode
 
equals(Object) - Method in class com.baidubce.model.User
 
ErrorCode - Enum in com.baidubce
The BCE error code.
ETAG - Static variable in interface com.baidubce.http.Headers
 
EXCLUDE_SKIPPED_BYTES - Static variable in class com.baidubce.util.LengthCheckInputStream
 
execute(InternalRequest, Class<T>, HttpResponseHandler[]) - Method in class com.baidubce.http.BceHttpClient
Executes the request and returns the result.
EXPIRES - Static variable in interface com.baidubce.http.Headers
 
extractHostAnnotationValue(AbstractBceRequest) - Method in class com.baidubce.AbstractBceClient
从请求对象中提取 @Host 注解字段的值

F

fillPayload(InternalRequest, AbstractBceRequest, BodyType) - Static method in class com.baidubce.util.RequestBodyUtils
使用指定的 BodyType 填充请求体
fillPayload(InternalRequest, AbstractBceRequest, BodyType, String) - Static method in class com.baidubce.util.RequestBodyUtils
使用指定的 BodyType 填充请求体,支持自定义 contentType
fillPayloadAsByteArray(InternalRequest, byte[], BodyType) - Static method in class com.baidubce.util.RequestBodyUtils
使用字节数组填充请求体(自动计算 contentLength)
fillPayloadAsByteArray(InternalRequest, byte[], BodyType, String) - Static method in class com.baidubce.util.RequestBodyUtils
使用字节数组填充请求体(支持自定义 contentType)
fillPayloadAsByteArray(InternalRequest, byte[], String) - Static method in class com.baidubce.util.RequestBodyUtils
使用字节数组填充请求体(自定义 Content-Type字符串)
fillPayloadAsForm(InternalRequest, AbstractBceRequest) - Static method in class com.baidubce.util.RequestBodyUtils
使用表单格式填充请求体(向后兼容的便捷方法)
fillPayloadAsForm(InternalRequest, AbstractBceRequest, String) - Static method in class com.baidubce.util.RequestBodyUtils
使用表单格式填充请求体(自定义 Content-Type)
fillPayloadAsJson(InternalRequest, AbstractBceRequest) - Static method in class com.baidubce.util.RequestBodyUtils
使用 JSON 格式填充请求体(向后兼容的便捷方法)
fillPayloadAsJson(InternalRequest, AbstractBceRequest, String) - Static method in class com.baidubce.util.RequestBodyUtils
使用 JSON 格式填充请求体(自定义 Content-Type)
fillPayloadAsStream(InternalRequest, InputStream) - Static method in class com.baidubce.util.RequestBodyUtils
使用二进制流格式填充请求体(使用默认 BodyType.BINARY)
fillPayloadAsStream(InternalRequest, InputStream, BodyType) - Static method in class com.baidubce.util.RequestBodyUtils
使用二进制流格式填充请求体(指定 BodyType)
fillPayloadAsStream(InternalRequest, InputStream, String) - Static method in class com.baidubce.util.RequestBodyUtils
使用二进制流格式填充请求体(自定义 Content-Type)
fillPayloadAsStream(InternalRequest, InputStream, Long, BodyType) - Static method in class com.baidubce.util.RequestBodyUtils
使用二进制流格式填充请求体(显式传递 contentLength,指定 BodyType)
fillPayloadAsStream(InternalRequest, InputStream, Long, BodyType, String) - Static method in class com.baidubce.util.RequestBodyUtils
使用二进制流格式填充请求体(完整参数版本,支持自定义 contentType)
finalize() - Method in class com.baidubce.http.BceHttpClient
 
FORBIDDEN - Static variable in class com.baidubce.http.StatusCodes
 
formatAlternateIso8601Date(Date) - Static method in class com.baidubce.util.DateUtils
Formats the specified date as an ISO 8601 string.
formatIso8601Date(Date) - Static method in class com.baidubce.util.DateUtils
Formats the specified date as an ISO 8601 string.
formatRfc822Date(Date) - Static method in class com.baidubce.util.DateUtils
Formats the specified date as an RFC 822 string.
fromJsonString(String, Class<T>) - Static method in class com.baidubce.util.JsonUtils
Returns the deserialized object from the given json string and target class; or null if the given json string is null.
fromValue(String) - Static method in enum com.baidubce.Region
Returns the BCE Region enumeration value representing the specified BCE Region ID string.

G

generateHostHeader(URI) - Static method in class com.baidubce.util.HttpUtils
Returns a host header according to the specified URI.
GenericAccountRequest - Class in com.baidubce.model
The generic account request.
GenericAccountRequest() - Constructor for class com.baidubce.model.GenericAccountRequest
 
get() - Method in class com.baidubce.common.ApiPath
 
getAccessKeyId() - Method in interface com.baidubce.auth.BceCredentials
Returns the BCE access key ID for this credentials object.
getAccessKeyId() - Method in class com.baidubce.auth.DefaultBceCredentials
 
getAllHeaders() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getBceContentSha256() - Method in class com.baidubce.BceResponseMetadata
 
getBceRequestId() - Method in class com.baidubce.BceResponseMetadata
 
getBktVirEndpoint(String) - Method in class com.baidubce.AbstractBceClient
Returns the service endpoint(bucket virtual hosting) to which this client will send requests.
getBucketType() - Method in class com.baidubce.BceResponseMetadata
 
getCanonicalQueryString(Map<String, String>, boolean) - Static method in class com.baidubce.util.HttpUtils
 
getClient() - Method in class com.baidubce.AbstractBceClient
 
getClientConfiguration(String) - Static method in class com.baidubce.common.ServiceConfigFactory
 
getCode() - Method in class com.baidubce.BceErrorResponse
Returns the BCE error code which represents the error type.
getConnectionTimeoutInMillis() - Method in class com.baidubce.BceClientConfiguration
Returns the connection timeout in milliseconds.
getContent() - Method in class com.baidubce.http.BceHttpResponse
 
getContent() - Method in class com.baidubce.internal.InternalRequest
 
getContent() - Method in class com.baidubce.model.AbstractBceStreamResponse
Gets the content stream from the response.
getContentDisposition() - Method in class com.baidubce.BceResponseMetadata
 
getContentEncoding() - Method in class com.baidubce.BceResponseMetadata
 
getContentLength() - Method in class com.baidubce.BceResponseMetadata
 
getContentLength() - Method in class com.baidubce.model.AbstractBceStreamResponse
Gets the content length of the response.
getContentMd5() - Method in class com.baidubce.BceResponseMetadata
 
getContentRange() - Method in class com.baidubce.BceResponseMetadata
 
getContentType() - Method in class com.baidubce.BceResponseMetadata
 
getContentType() - Method in enum com.baidubce.http.BodyType
Get the Content-Type header value for this body type
getContentType() - Method in class com.baidubce.model.AbstractBceStreamResponse
Gets the content type of the response.
getCredentials() - Method in class com.baidubce.BceClientConfiguration
Returns the BCE credentials used by the client to sign HTTP requests.
getCredentials() - Method in class com.baidubce.internal.InternalRequest
 
getDate() - Method in class com.baidubce.BceResponseMetadata
 
getDefaultHeadersToSign(String) - Static method in class com.baidubce.common.ServiceConfigFactory
 
getDefaultPort() - Method in enum com.baidubce.Protocol
 
getDefaultResponseHandlers() - Static method in class com.baidubce.common.ServiceConfigFactory
 
getDelayBeforeNextRetryInMillis(HttpRequestBase, BceClientException, int, RetryPolicy) - Method in class com.baidubce.http.BceHttpClient
Get delay time before next retry.
getDelayBeforeNextRetryInMillis(BceClientException, int) - Method in class com.baidubce.http.DefaultRetryPolicy
Returns the delay (in milliseconds) before next retry attempt.
getDelayBeforeNextRetryInMillis(BceClientException, int) - Method in interface com.baidubce.http.RetryPolicy
Returns the delay (in milliseconds) before next retry attempt.
getDisplayName() - Method in class com.baidubce.model.User
Gets the display name of the user.
getEndpoint() - Method in class com.baidubce.AbstractBceClient
Returns the service endpoint to which this client will send requests.
getEndpoint() - Method in class com.baidubce.BceClientConfiguration
Returns the service endpoint URL to which the client will connect.
getEntity() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getErrorCode() - Method in exception com.baidubce.BceServiceException
Returns the BCE error code represented by this exception.
getErrorMessage() - Method in exception com.baidubce.BceServiceException
Returns the human-readable error message provided by the service.
getErrorType() - Method in exception com.baidubce.BceServiceException
Indicates who is responsible for this exception (caller, service, or unknown).
getETag() - Method in class com.baidubce.BceResponseMetadata
 
getExpirationInSeconds() - Method in class com.baidubce.auth.SignOptions
Returns the time until the signature will expire.
getExpires() - Method in class com.baidubce.BceResponseMetadata
 
getFirstHeader(String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getHeader(String) - Method in class com.baidubce.http.BceHttpResponse
 
getHeaderAsLong(String) - Method in class com.baidubce.http.BceHttpResponse
 
getHeaderAsRfc822Date(String) - Method in class com.baidubce.http.BceHttpResponse
 
getHeaders() - Method in class com.baidubce.common.ApiInfo
 
getHeaders(String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getHeaders() - Method in class com.baidubce.http.BceHttpResponse
 
getHeaders() - Method in class com.baidubce.internal.BaseRequest
 
getHeaders() - Method in class com.baidubce.internal.InternalRequest
 
getHeadersToSign() - Method in class com.baidubce.auth.SignOptions
Returns the set of headers to be signed.
getHttpMethod() - Method in class com.baidubce.internal.BaseRequest
 
getHttpMethod() - Method in class com.baidubce.internal.InternalRequest
 
getHttpResponse() - Method in class com.baidubce.http.BceHttpResponse
 
getId() - Method in class com.baidubce.model.User
Gets the ID of the user.
getInstance() - Static method in class com.baidubce.util.Mimetypes
Loads MIME type info from the file 'mime.types' in the classpath, if it's available.
getIoThreadCount() - Method in class com.baidubce.BceClientConfiguration
Returns the maximum number of io thread.
getIsTruncated() - Method in class com.baidubce.model.ListResponse
Returning false to indicate that there is not more result in the next page, otherwise returning true meaning there is more result in next page.
getLastHeader(String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getLastModified() - Method in class com.baidubce.BceResponseMetadata
 
getLocalAddress() - Method in class com.baidubce.BceClientConfiguration
Returns the optional local address to bind when connecting to BCE services.
getLocale() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getLocation() - Method in class com.baidubce.BceResponseMetadata
 
getMarker() - Method in class com.baidubce.model.ListRequest
Returning the optional parameter marker specified in the original request to specify where in the results to begin listing.
getMarker() - Method in class com.baidubce.model.ListResponse
Returning the optional parameter marker specified in the original request to specify where in the results to begin listing.
getMaxConnections() - Method in class com.baidubce.BceClientConfiguration
Returns the maximum number of open HTTP connections.
getMaxDelayInMillis() - Method in class com.baidubce.http.DefaultRetryPolicy
Returns the maximum delay time (in milliseconds) before retrying a request.
getMaxDelayInMillis() - Method in interface com.baidubce.http.RetryPolicy
Returns the maximum delay time (in milliseconds) before retrying a request.
getMaxErrorRetry() - Method in class com.baidubce.http.DefaultRetryPolicy
Returns the maximum number of retry attempts.
getMaxErrorRetry() - Method in interface com.baidubce.http.RetryPolicy
Returns the maximum number of retry attempts.
getMaxKeys() - Method in class com.baidubce.model.ListRequest
Returning the optional parameter that specifies the max number of list result to return .
getMaxKeys() - Method in class com.baidubce.model.ListResponse
Returning the optional parameter in the original request to specifies the max number of list result to return .
getMaxRedirects() - Method in class com.baidubce.internal.InternalRequest
Gets the flag of redirection times
getMd5Digest() - Method in class com.baidubce.util.MD5DigestCalculatingInputStream
 
getMessage() - Method in class com.baidubce.BceErrorResponse
Returns the detail error message.
getMessage() - Method in exception com.baidubce.BceServiceException
 
getMetadata() - Method in class com.baidubce.model.AbstractBceResponse
 
getMethod() - Method in class com.baidubce.common.ApiInfo
 
getMimetype(String) - Method in class com.baidubce.util.Mimetypes
Determines the mimetype of a file by looking up the file's extension in an internal listing to find the corresponding mime type.
getMimetype(File) - Method in class com.baidubce.util.Mimetypes
Determines the mimetype of a file by looking up the file's extension in an internal listing to find the corresponding mime type.
getNextMarker() - Method in class com.baidubce.model.ListResponse
Returns the next marker that should be used in the next request to get the next page of results.
getObjectMapper() - Static method in class com.baidubce.util.JsonUtils
 
getParameters() - Method in class com.baidubce.internal.BaseRequest
 
getParameters() - Method in class com.baidubce.internal.InternalRequest
 
getParams() - Method in class com.baidubce.http.BceCloseableHttpResponse
Deprecated.
getPath() - Method in class com.baidubce.common.ApiInfo
 
getPath() - Method in class com.baidubce.internal.BaseRequest
 
getPrettywriter() - Static method in class com.baidubce.util.JsonUtils
 
getProtocol() - Method in class com.baidubce.BceClientConfiguration
Returns the protocol (HTTP/HTTPS) to use when connecting to BCE services.
getProtocolVersion() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getProxyDomain() - Method in class com.baidubce.BceClientConfiguration
Returns the optional Windows domain to use when connecting through a Windows NTLM proxy.
getProxyHost() - Method in class com.baidubce.BceClientConfiguration
Returns the optional proxy host the client will connect through.
getProxyPassword() - Method in class com.baidubce.BceClientConfiguration
Returns the optional password to use when connecting through a proxy.
getProxyPort() - Method in class com.baidubce.BceClientConfiguration
Returns the optional proxy port the client will connect through.
getProxyUsername() - Method in class com.baidubce.BceClientConfiguration
Returns the optional user name to use when connecting through a proxy.
getProxyWorkstation() - Method in class com.baidubce.BceClientConfiguration
Returns the optional Windows workstation to use when connecting through a Windows NTLM proxy.
getQueries() - Method in class com.baidubce.common.ApiInfo
 
getRegion() - Method in class com.baidubce.BceClientConfiguration
Returns the region of service.
getRequestCredentials() - Method in class com.baidubce.model.AbstractBceRequest
Returns the optional credentials to use to sign this request, overriding the default credentials set at the client level.
getRequestHandlers(String) - Static method in class com.baidubce.common.ServiceConfigFactory
 
getRequestId() - Method in class com.baidubce.BceErrorResponse
 
getRequestId() - Method in exception com.baidubce.BceServiceException
Returns the BCE request ID that uniquely identifies the service request the caller made.
getResponseHandlers(String) - Static method in class com.baidubce.common.ServiceConfigFactory
 
getRetryPolicy() - Method in class com.baidubce.BceClientConfiguration
Returns the retry policy for failed requests.
getSecretKey() - Method in interface com.baidubce.auth.BceCredentials
Returns the BCE secret access key for this credentials object.
getSecretKey() - Method in class com.baidubce.auth.DefaultBceCredentials
 
getServer() - Method in class com.baidubce.BceResponseMetadata
 
getServiceId() - Method in class com.baidubce.AbstractBceClient
Returns the target service ID.
getSessionToken() - Method in interface com.baidubce.auth.BceSessionCredentials
Returns the session token for this credentials object.
getSignOptions() - Method in class com.baidubce.internal.InternalRequest
 
getSocketBufferSizeInBytes() - Method in class com.baidubce.BceClientConfiguration
Returns the optional size (in bytes) for the low level TCP socket buffer.
getSocketTimeoutInMillis() - Method in class com.baidubce.BceClientConfiguration
Returns the socket timeout (SO_TIMEOUT) in milliseconds, which is a maximum period inactivity between two consecutive data packets.
getStatusCode() - Method in exception com.baidubce.BceServiceException
Returns the HTTP status code that was returned with this service exception.
getStatusCode() - Method in class com.baidubce.http.BceHttpResponse
 
getStatusLine() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
getStatusText() - Method in class com.baidubce.http.BceHttpResponse
 
getSymlinkTarget() - Method in class com.baidubce.BceResponseMetadata
 
getTimestamp() - Method in class com.baidubce.auth.SignOptions
Returns the time when the signature was created.
getTransferEncoding() - Method in class com.baidubce.BceResponseMetadata
 
getUri() - Method in class com.baidubce.internal.InternalRequest
 
getUserAgent() - Method in class com.baidubce.BceClientConfiguration
Returns the User-Agent header value to use when sending requests to BCE services.
getUseStsHeader() - Method in class com.baidubce.auth.SignOptions
Get the options of whether add header(x-bce-security-token)
getWriter() - Static method in class com.baidubce.util.JsonUtils
 

H

handle(InternalRequest, BaseBceRequest) - Method in interface com.baidubce.common.HttpRequestHandler
 
handle(BceHttpResponse, AbstractBceResponse) - Method in class com.baidubce.http.handler.BceErrorResponseHandler
 
handle(BceHttpResponse, AbstractBceResponse) - Method in class com.baidubce.http.handler.BceJsonResponseHandler
 
handle(BceHttpResponse, AbstractBceResponse) - Method in class com.baidubce.http.handler.BceMetadataResponseHandler
 
handle(BceHttpResponse, AbstractBceResponse) - Method in class com.baidubce.http.handler.BceStreamResponseHandler
 
handle(BceHttpResponse, AbstractBceResponse) - Method in interface com.baidubce.http.handler.HttpResponseHandler
 
hasContentType() - Method in enum com.baidubce.http.BodyType
Check if this body type has a content type
hashCode() - Method in class com.baidubce.model.User
 
HashUtils - Class in com.baidubce.util
Utility methods for computing MD5 sums.
HashUtils() - Constructor for class com.baidubce.util.HashUtils
 
headerIterator() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
headerIterator(String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
Headers - Interface in com.baidubce.http
Common BOS HTTP header values used throughout the BCE BOS Java client.
Host - Annotation Type in com.baidubce.annotation
标记请求对象中需要作为主机名前缀的字段
HOST - Static variable in interface com.baidubce.http.Headers
 
httpAsyncClient - Variable in class com.baidubce.http.BceHttpClient
Internal async client for sending HTTP requests
httpClient - Variable in class com.baidubce.http.BceHttpClient
Internal client for sending HTTP requests
HttpMethodName - Enum in com.baidubce.http
The name of http method.
HttpRequestHandler - Interface in com.baidubce.common
Responsible for handling an HTTP request.
HttpResponseHandler - Interface in com.baidubce.http.handler
Responsible for handling an HTTP response.
HttpUtils - Class in com.baidubce.util
 
HttpUtils() - Constructor for class com.baidubce.util.HttpUtils
 

I

IdleConnectionReaper - Class in com.baidubce.http
Daemon thread to periodically check connection pools for idle connections.
INCLUDE_SKIPPED_BYTES - Static variable in class com.baidubce.util.LengthCheckInputStream
 
InternalRequest - Class in com.baidubce.internal
Represents a request being sent to a BCE Service, including the parameters being sent as part of the request, the endpoint to which the request should be sent, etc.
InternalRequest(HttpMethodName, URI) - Constructor for class com.baidubce.internal.InternalRequest
 
invokeHttpClient(InternalRequest, Class<T>) - Method in class com.baidubce.AbstractBceClient
Subclasses should invoke this method for sending request to the target service.
invokeHttpClient(InternalRequest, Class<T>, HttpResponseHandler[]) - Method in class com.baidubce.AbstractBceClient
Subclasses should invoke this method for sending request to the target service with custom handlers.
isExpectContinueEnabled() - Method in class com.baidubce.internal.InternalRequest
 
isProxyPreemptiveAuthenticationEnabled() - Method in class com.baidubce.BceClientConfiguration
Returns whether to enable proxy preemptive authentication.
isRedirectsEnabled() - Method in class com.baidubce.BceClientConfiguration
Gets the flag of http redirection
isRedirectsEnabled() - Method in class com.baidubce.internal.InternalRequest
Gets the flag of http redirection
isRegionSupported() - Method in class com.baidubce.AbstractBceClient
Returns true if the target service supports regions.
isUsingNonDefaultPort(URI) - Static method in class com.baidubce.util.HttpUtils
Returns true if the specified URI is using a non-standard port (i.e.

J

jsonGeneratorOf(Writer) - Static method in class com.baidubce.util.JsonUtils
 
jsonNodeOf(String) - Static method in class com.baidubce.util.JsonUtils
 
JsonUtils - Class in com.baidubce.util
JsonUtils for Serialization and deserialization of JSON
JsonUtils() - Constructor for class com.baidubce.util.JsonUtils
 

L

LAST_MODIFIED - Static variable in interface com.baidubce.http.Headers
 
LengthCheckInputStream - Class in com.baidubce.util
Used to perform length check to ensure the number of bytes read from the underlying input stream is the same as the expected total.
LengthCheckInputStream(InputStream, long, boolean) - Constructor for class com.baidubce.util.LengthCheckInputStream
Constructs an input stream that performs length check to ensure the number of bytes read from the underlying input stream is the same as the expected total.
ListRequest - Class in com.baidubce.model
Container for the parameters of the list operation.
ListRequest() - Constructor for class com.baidubce.model.ListRequest
 
ListResponse - Class in com.baidubce.model
The base response contains the base information about list operation.
ListResponse() - Constructor for class com.baidubce.model.ListResponse
 
load(InputStream, Object) - Static method in class com.baidubce.util.JsonUtils
 
loadAndReplaceMimetypes(InputStream) - Method in class com.baidubce.util.Mimetypes
Reads and stores the mime type setting corresponding to a file extension, by reading text from an InputStream.
loadFrom(File, Class<T>) - Static method in class com.baidubce.util.JsonUtils
 
loadFrom(InputStream, Class<T>) - Static method in class com.baidubce.util.JsonUtils
 
LOCATION - Static variable in interface com.baidubce.http.Headers
 

M

mark(int) - Method in class com.baidubce.util.LengthCheckInputStream
 
MD5DigestCalculatingInputStream - Class in com.baidubce.util
Simple InputStream wrapper that examines the wrapped stream's contents as they are read and calculates and MD5 digest.
MD5DigestCalculatingInputStream(InputStream, long) - Constructor for class com.baidubce.util.MD5DigestCalculatingInputStream
 
metadata - Variable in class com.baidubce.model.AbstractBceResponse
 
MIMETYPE_OCTET_STREAM - Static variable in class com.baidubce.util.Mimetypes
The default binary mimetype: application/octet-stream
Mimetypes - Class in com.baidubce.util
Utility class that maintains a listing of known Mimetypes, and determines the mimetype of files based on file extensions.

N

normalize(String) - Static method in class com.baidubce.util.HttpUtils
Normalize a string for use in BCE web service APIs.
normalizePath(String) - Static method in class com.baidubce.util.HttpUtils
Normalize a string for use in url path.
NOT_FOUND - Static variable in class com.baidubce.http.StatusCodes
 

P

parseAlternateIso8601Date(String) - Static method in class com.baidubce.util.DateUtils
Parses the specified date string as an ISO 8601 date and returns the Date object.
parseCompressedIso8601Date(String) - Static method in class com.baidubce.util.DateUtils
Parses the specified date string as a compressedIso8601DateFormat ("yyyyMMdd'T'HHmmss'Z'") and returns the Date object.
parseIso8601Date(String) - Static method in class com.baidubce.util.DateUtils
Parses the specified date string as an ISO 8601 date and returns the Date object.
parseRfc822Date(String) - Static method in class com.baidubce.util.DateUtils
Parses the specified date string as an RFC 822 date and returns the Date object.
populateStream(InputStream) - Method in class com.baidubce.model.AbstractBceStreamResponse
默认实现:将响应流写入 content 字段。 生成的 response 子类可覆写此方法,将流写入用户指定的字段。
printRequest(HttpRequestBase) - Static method in class com.baidubce.util.HttpUtils
 
printResponse(CloseableHttpResponse) - Static method in class com.baidubce.util.HttpUtils
 
Protocol - Enum in com.baidubce
Represents the communication protocol to use when sending requests to BCE.

R

RANGE - Static variable in interface com.baidubce.http.Headers
 
read(byte[], int, int) - Method in class com.baidubce.internal.RestartableResettableInputStream
 
read() - Method in class com.baidubce.internal.RestartableResettableInputStream
 
read() - Method in class com.baidubce.util.LengthCheckInputStream
read(byte[], int, int) - Method in class com.baidubce.util.LengthCheckInputStream
read() - Method in class com.baidubce.util.MD5DigestCalculatingInputStream
 
read(byte[], int, int) - Method in class com.baidubce.util.MD5DigestCalculatingInputStream
 
Region - Enum in com.baidubce
Specifies constants that define BCE Regions.
registerConnectionManager(HttpClientConnectionManager) - Static method in class com.baidubce.http.IdleConnectionReaper
Registers the given connection manager with this reaper;
removeConnectionManager(HttpClientConnectionManager) - Static method in class com.baidubce.http.IdleConnectionReaper
Removes the given connection manager from this reaper, and shutting down the reaper if there is zero connection manager left.
removeHeader(Header) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
removeHeaders(String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
RequestBodyUtils - Class in com.baidubce.util
请求体编码工具类,支持多种 BodyType 格式
reset() - Method in class com.baidubce.util.LengthCheckInputStream
 
reset() - Method in class com.baidubce.util.MD5DigestCalculatingInputStream
Resets the wrapped input stream and the in progress message digest.
ResourceType - Enum in com.baidubce.model
 
restart() - Method in class com.baidubce.internal.RestartableInputStream
 
restart() - Method in class com.baidubce.internal.RestartableResettableInputStream
 
RestartableInputStream - Class in com.baidubce.internal
Abstract class Restartable InputStream extends InputStream.
RestartableInputStream() - Constructor for class com.baidubce.internal.RestartableInputStream
 
RestartableResettableInputStream - Class in com.baidubce.internal
The Restartable InputStream can Reset.
RestartableResettableInputStream(InputStream) - Constructor for class com.baidubce.internal.RestartableResettableInputStream
 
RetryPolicy - Interface in com.baidubce.http
Retry policy that can be configured on a specific service client using BceClientConfiguration.
run() - Method in class com.baidubce.http.IdleConnectionReaper
 

S

SERVER - Static variable in interface com.baidubce.http.Headers
 
ServiceConfigFactory - Class in com.baidubce.common
Service config of service.
ServiceConfigFactory() - Constructor for class com.baidubce.common.ServiceConfigFactory
 
setBceContentSha256(String) - Method in class com.baidubce.BceResponseMetadata
 
setBceRequestId(String) - Method in class com.baidubce.BceResponseMetadata
 
setBucketType(String) - Method in class com.baidubce.BceResponseMetadata
 
setClient(BceHttpClient) - Method in class com.baidubce.AbstractBceClient
 
setCode(String) - Method in class com.baidubce.BceErrorResponse
Sets the BCE error code which represents the error type.
setConnectionTimeoutInMillis(int) - Method in class com.baidubce.BceClientConfiguration
Sets the connection timeout in milliseconds.
setContent(RestartableInputStream) - Method in class com.baidubce.internal.InternalRequest
 
setContent(InputStream) - Method in class com.baidubce.model.AbstractBceStreamResponse
Sets the content stream.
setContentDisposition(String) - Method in class com.baidubce.BceResponseMetadata
 
setContentEncoding(String) - Method in class com.baidubce.BceResponseMetadata
 
setContentLength(long) - Method in class com.baidubce.BceResponseMetadata
 
setContentLength(long) - Method in class com.baidubce.model.AbstractBceStreamResponse
Sets the content length of the response.
setContentMd5(String) - Method in class com.baidubce.BceResponseMetadata
 
setContentRange(String) - Method in class com.baidubce.BceResponseMetadata
 
setContentType(String) - Method in class com.baidubce.BceResponseMetadata
 
setContentType(String) - Method in class com.baidubce.model.AbstractBceStreamResponse
Sets the content type of the response.
setCredentials(BceCredentials) - Method in class com.baidubce.BceClientConfiguration
Sets the BCE credentials used by the client to sign HTTP requests.
setCredentials(BceCredentials) - Method in class com.baidubce.internal.InternalRequest
 
setDate(Date) - Method in class com.baidubce.BceResponseMetadata
 
setDisplayName(String) - Method in class com.baidubce.model.User
Sets the display name of the user.
setEndpoint(String) - Method in class com.baidubce.BceClientConfiguration
Sets the service endpoint URL to which the client will connect.
setEntity(HttpEntity) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setErrorCode(String) - Method in exception com.baidubce.BceServiceException
Sets the BCE error code represented by this exception.
setErrorMessage(String) - Method in exception com.baidubce.BceServiceException
Sets the human-readable error message provided by the service.
setErrorType(BceServiceException.ErrorType) - Method in exception com.baidubce.BceServiceException
Sets the type of error represented by this exception (sender, receiver, or unknown), indicating if this exception was the caller's fault, or the service's fault.
setETag(String) - Method in class com.baidubce.BceResponseMetadata
 
setExpectContinueEnabled(boolean) - Method in class com.baidubce.internal.InternalRequest
 
setExpirationInSeconds(int) - Method in class com.baidubce.auth.SignOptions
Sets the time until the signature will expire.
setExpires(Date) - Method in class com.baidubce.BceResponseMetadata
 
setHeader(Header) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setHeader(String, String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setHeaders(Header[]) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setHeaders(Map<String, String>) - Method in class com.baidubce.internal.BaseRequest
 
setHeaders(Map<String, String>) - Method in class com.baidubce.internal.InternalRequest
 
setHeadersToSign(Set<String>) - Method in class com.baidubce.auth.SignOptions
Sets the set of headers to be signed.
setHttpMethod(HttpMethodName) - Method in class com.baidubce.internal.BaseRequest
 
setHttpResponse(CloseableHttpResponse) - Method in class com.baidubce.model.AbstractBceStreamResponse
Sets the underlying HTTP response for proper resource management.
setId(String) - Method in class com.baidubce.model.User
Sets the ID of the user.
setIoThreadCount(int) - Method in class com.baidubce.BceClientConfiguration
Sets the maximum number of open io thread.
setIsTruncated(boolean) - Method in class com.baidubce.model.ListResponse
Setting the boolean value to indicate that there is not more result in the next page.
setLastModified(Date) - Method in class com.baidubce.BceResponseMetadata
 
setLocalAddress(InetAddress) - Method in class com.baidubce.BceClientConfiguration
Sets the optional local address to bind when connecting to BCE services.
setLocale(Locale) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setLocation(String) - Method in class com.baidubce.BceResponseMetadata
 
setMarker(String) - Method in class com.baidubce.model.ListRequest
Setting the optional parameter marker specified in the original request to specify where in the results to begin listing.
setMarker(String) - Method in class com.baidubce.model.ListResponse
Setting the optional parameter marker specified in the original request to specify where in the results to begin listing.
setMaxConnections(int) - Method in class com.baidubce.BceClientConfiguration
Sets the maximum number of open HTTP connections.
setMaxKeys(int) - Method in class com.baidubce.model.ListRequest
Setting the optional parameter to specifies the max number of list result to return
setMaxKeys(Integer) - Method in class com.baidubce.model.ListResponse
Setting the optional parameter in the original request to specifies the max number of list result to return
setMaxRedirects(int) - Method in class com.baidubce.internal.InternalRequest
Sets the flag of redirection times
setMessage(String) - Method in class com.baidubce.BceErrorResponse
Sets the detail error message.
setMetadata(Map<String, String>) - Method in class com.baidubce.model.AbstractBceResponse
 
setNextMarker(String) - Method in class com.baidubce.model.ListResponse
Sets the next marker that should be used in the next request to get the next page of results.
setParameters(Map<String, String>) - Method in class com.baidubce.internal.BaseRequest
 
setParameters(Map<String, String>) - Method in class com.baidubce.internal.InternalRequest
 
setParams(HttpParams) - Method in class com.baidubce.http.BceCloseableHttpResponse
Deprecated.
setPath(String) - Method in class com.baidubce.internal.BaseRequest
 
setProtocol(Protocol) - Method in class com.baidubce.BceClientConfiguration
Sets the protocol (HTTP/HTTPS) to use when connecting to BCE services.
setProxyDomain(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional Windows domain to use when connecting through a Windows NTLM proxy.
setProxyHost(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional proxy host the client will connect through.
setProxyPassword(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional password to use when connecting through a proxy.
setProxyPort(int) - Method in class com.baidubce.BceClientConfiguration
Sets the optional proxy port the client will connect through.
setProxyPreemptiveAuthenticationEnabled(boolean) - Method in class com.baidubce.BceClientConfiguration
Sets whether to enable proxy preemptive authentication.
setProxyUsername(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional user name to use when connecting through a proxy.
setProxyWorkstation(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional Windows workstation to use when connecting through a Windows NTLM proxy.
setReasonPhrase(String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setRedirectsEnabled(boolean) - Method in class com.baidubce.BceClientConfiguration
Sets the flag of http redirection
setRedirectsEnabled(boolean) - Method in class com.baidubce.internal.InternalRequest
Sets the flag of http redirection
setRegion(Region) - Method in class com.baidubce.BceClientConfiguration
Sets the region of service.
setRequestCredentials(BceCredentials) - Method in class com.baidubce.model.AbstractBceRequest
Sets the optional credentials to use for this request, overriding the default credentials set at the client level.
setRequestId(String) - Method in class com.baidubce.BceErrorResponse
 
setRequestId(String) - Method in exception com.baidubce.BceServiceException
Sets the BCE requestId for this exception.
setRetryPolicy(RetryPolicy) - Method in class com.baidubce.BceClientConfiguration
Sets the retry policy for failed requests.
setServer(String) - Method in class com.baidubce.BceResponseMetadata
 
setSignOptions(SignOptions) - Method in class com.baidubce.internal.InternalRequest
 
setSocketBufferSizeInBytes(int) - Method in class com.baidubce.BceClientConfiguration
Sets the optional size (in bytes) for the low level TCP socket buffer.
setSocketTimeoutInMillis(int) - Method in class com.baidubce.BceClientConfiguration
Sets the socket timeout (SO_TIMEOUT) in milliseconds, which is a maximum period inactivity between two consecutive data packets.
setStatusCode(int) - Method in exception com.baidubce.BceServiceException
Sets the HTTP status code that was returned with this service exception.
setStatusCode(int) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setStatusLine(StatusLine) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setStatusLine(ProtocolVersion, int) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setStatusLine(ProtocolVersion, int, String) - Method in class com.baidubce.http.BceCloseableHttpResponse
 
setSymlinkTarget(String) - Method in class com.baidubce.BceResponseMetadata
 
setTimestamp(Date) - Method in class com.baidubce.auth.SignOptions
Sets the time when the signature was created.
setTransferEncoding(String) - Method in class com.baidubce.BceResponseMetadata
 
setUserAgent(String) - Method in class com.baidubce.BceClientConfiguration
Sets the User-Agent header value to use when sending requests to BCE services.
setUseStsHeader(Boolean) - Method in class com.baidubce.auth.SignOptions
Set stsHeader options
shouldRetry(BceClientException, int) - Method in class com.baidubce.http.DefaultRetryPolicy
Returns whether a failed request should be retried according to the given request context.
shutdown() - Method in class com.baidubce.AbstractBceClient
Shuts down the client and releases all underlying resources.
shutdown() - Method in class com.baidubce.http.BceHttpClient
Shuts down this HTTP client object, releasing any resources that might be held open.
shutdown() - Static method in class com.baidubce.http.IdleConnectionReaper
Shuts down the thread, allowing the class and instance to be collected.
shutdownClean() - Method in class com.baidubce.http.BceHttpClient
The difference between shutdown() is that releasing all resources including nio and idle.
sign(InternalRequest, BceCredentials) - Method in class com.baidubce.auth.BceV1Signer
 
sign(InternalRequest, BceCredentials, SignOptions) - Method in class com.baidubce.auth.BceV1Signer
Sign the given request with the given set of credentials.
sign(InternalRequest, BceCredentials) - Method in interface com.baidubce.auth.Signer
Equivalent to sign(request, credentials, SignOptions.DEFAULT).
sign(InternalRequest, BceCredentials, SignOptions) - Method in interface com.baidubce.auth.Signer
Sign the given request with the given set of credentials.
Signer - Interface in com.baidubce.auth
A strategy for applying cryptographic signatures to a request, proving that the request was made by someone in possession of the given set of credentials without transmitting the secret key over the wire.
signer - Variable in class com.baidubce.http.BceHttpClient
 
SignOptions - Class in com.baidubce.auth
Options for signing the request.
SignOptions() - Constructor for class com.baidubce.auth.SignOptions
 
skip(long) - Method in class com.baidubce.util.LengthCheckInputStream
StatusCodes - Class in com.baidubce.http
The BCE status code.
StatusCodes() - Constructor for class com.baidubce.http.StatusCodes
 
stringFormat(String, String...) - Static method in class com.baidubce.util.StringFormatUtils
 
StringFormatUtils - Class in com.baidubce.util
Utility methods for formatting string.
StringFormatUtils() - Constructor for class com.baidubce.util.StringFormatUtils
 

T

toInternalRequest(BaseRequest) - Static method in class com.baidubce.internal.BaseRequest
transfer from base request to internal request
toJsonPrettyString(Object) - Static method in class com.baidubce.util.JsonUtils
 
toJsonString() - Method in class com.baidubce.model.AbstractBceRequest
 
toJsonString() - Method in class com.baidubce.model.AbstractBceResponse
 
toJsonString(Object) - Static method in class com.baidubce.util.JsonUtils
 
toJsonStringWithRootName(Object) - Static method in class com.baidubce.util.JsonUtils
Serialization of object
toString() - Method in class com.baidubce.auth.SignOptions
 
toString() - Method in class com.baidubce.BceClientConfiguration
 
toString() - Method in class com.baidubce.BceResponseMetadata
 
toString() - Method in enum com.baidubce.ErrorCode
 
toString() - Method in class com.baidubce.http.BceCloseableHttpResponse
 
toString() - Method in class com.baidubce.internal.InternalRequest
 
toString() - Method in class com.baidubce.model.User
 
toString() - Method in enum com.baidubce.Protocol
 
toString() - Method in enum com.baidubce.Region
 
TRANSFER_ENCODING - Static variable in interface com.baidubce.http.Headers
 

U

URL_PREFIX - Static variable in class com.baidubce.AbstractBceClient
The common URL prefix for all BCE service APIs.
User - Class in com.baidubce.model
Represents the owner of an Baidu Bos bucket.
User() - Constructor for class com.baidubce.model.User
Constructs a new user without specifying an ID or display name.
User(String, String) - Constructor for class com.baidubce.model.User
Constructs a new user with the specified ID and display name.
USER_AGENT - Static variable in interface com.baidubce.http.Headers
 

V

Validate - Class in com.baidubce.util
 
Validate() - Constructor for class com.baidubce.util.Validate
 
validateUtcDate(String) - Static method in class com.baidubce.util.DateUtils
 
valueOf(String) - Static method in enum com.baidubce.BceServiceException.ErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.baidubce.common.BceRegion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.baidubce.ErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.baidubce.http.BodyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.baidubce.http.HttpMethodName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.baidubce.model.ResourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.baidubce.Protocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.baidubce.Region
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.baidubce.BceServiceException.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.baidubce.common.BceRegion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.baidubce.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.baidubce.http.BodyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.baidubce.http.HttpMethodName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.baidubce.model.ResourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.baidubce.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.baidubce.Region
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.baidubce.BceConstants
 

W

withConnectionTimeoutInMillis(int) - Method in class com.baidubce.BceClientConfiguration
Sets the connection timeout in milliseconds, and returns the updated configuration instance.
withCredentials(BceCredentials) - Method in class com.baidubce.BceClientConfiguration
Sets the BCE credentials used by the client to sign HTTP requests, and returns the updated configuration instance.
withDisplayName(String) - Method in class com.baidubce.model.User
Sets the display name of the user.
withEndpoint(String) - Method in class com.baidubce.BceClientConfiguration
Sets the service endpoint URL to which the client will connect, and returns the updated configuration instance.
withId(String) - Method in class com.baidubce.model.User
Sets the ID of the user.
withIoThreadCount(int) - Method in class com.baidubce.BceClientConfiguration
Sets the maximum number of io thread, and returns the updated configuration instance.
withLocalAddress(InetAddress) - Method in class com.baidubce.BceClientConfiguration
Sets the optional local address to bind when connecting to BCE services, and returns the updated configuration instance.
withMarker(String) - Method in class com.baidubce.model.ListRequest
Configure the request with specified marker.
withMaxConnections(int) - Method in class com.baidubce.BceClientConfiguration
Sets the maximum number of open HTTP connections, and returns the updated configuration instance.
withMaxKeys(int) - Method in class com.baidubce.model.ListRequest
Configure the request with specified maxKeys.
withPathParameter(String, String) - Method in class com.baidubce.common.ApiPath
 
withProtocol(Protocol) - Method in class com.baidubce.BceClientConfiguration
Sets the protocol (HTTP/HTTPS) to use when connecting to BCE services, and returns the updated configuration instance.
withProxyDomain(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional Windows domain to use when connecting through a Windows NTLM proxy, and returns the updated configuration instance.
withProxyHost(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional proxy host the client will connect through, and returns the updated configuration instance.
withProxyPassword(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional password to use when connecting through a proxy, and returns the updated configuration instance.
withProxyPort(int) - Method in class com.baidubce.BceClientConfiguration
Sets the optional proxy port the client will connect through, and returns the updated configuration instance.
withProxyPreemptiveAuthenticationEnabled(boolean) - Method in class com.baidubce.BceClientConfiguration
Sets whether to enable proxy preemptive authentication, and returns the updated configuration instance.
withProxyUsername(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional user name to use when connecting through a proxy, and returns the updated configuration instance.
withProxyWorkstation(String) - Method in class com.baidubce.BceClientConfiguration
Sets the optional Windows workstation to use when connecting through a Windows NTLM proxy, and returns the updated configuration instance.
withRedirectsEnabled(boolean) - Method in class com.baidubce.BceClientConfiguration
Sets the flag of http redirection
withRegion(Region) - Method in class com.baidubce.BceClientConfiguration
Sets the region of service, and returns the updated configuration instance.
withRequestCredentials(BceCredentials) - Method in class com.baidubce.common.BaseBceRequest
 
withRequestCredentials(BceCredentials) - Method in class com.baidubce.model.AbstractBceRequest
 
withRequestCredentials(BceCredentials) - Method in class com.baidubce.model.GenericAccountRequest
 
withRetryPolicy(RetryPolicy) - Method in class com.baidubce.BceClientConfiguration
Sets the retry policy for failed requests, and returns the updated configuration instance.
withSocketBufferSizeInBytes(int) - Method in class com.baidubce.BceClientConfiguration
Sets the optional size (in bytes) for the low level TCP socket buffer, and returns the updated configuration instance.
withSocketTimeoutInMillis(int) - Method in class com.baidubce.BceClientConfiguration
Sets the socket timeout (SO_TIMEOUT) in milliseconds, which is a maximum period inactivity between two consecutive data packets, and returns the updated configuration instance.
withUserAgent(String) - Method in class com.baidubce.BceClientConfiguration
Sets the User-Agent header value to use when sending requests to BCE services, and returns the updated configuration instance.
wrap(byte[]) - Static method in class com.baidubce.internal.RestartableInputStream
 
A B C D E F G H I J L M N P R S T U V W 
Skip navigation links

Copyright © 2026. All rights reserved.