- 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
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-