Index

B C D E F G H I L M N R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

B

BaseMiddleware - Class in cn.ucloud.common.middleware
 
BaseMiddleware() - Constructor for class cn.ucloud.common.middleware.BaseMiddleware
 

C

Client - Interface in cn.ucloud.common.client
 
cn.ucloud.common.annotation - package cn.ucloud.common.annotation
 
cn.ucloud.common.client - package cn.ucloud.common.client
 
cn.ucloud.common.config - package cn.ucloud.common.config
 
cn.ucloud.common.credential - package cn.ucloud.common.credential
 
cn.ucloud.common.exception - package cn.ucloud.common.exception
 
cn.ucloud.common.middleware - package cn.ucloud.common.middleware
 
cn.ucloud.common.middlewares - package cn.ucloud.common.middlewares
 
cn.ucloud.common.request - package cn.ucloud.common.request
 
cn.ucloud.common.response - package cn.ucloud.common.response
 
cn.ucloud.common.transport - package cn.ucloud.common.transport
 
Config - Class in cn.ucloud.common.config
 
Config() - Constructor for class cn.ucloud.common.config.Config
 
Context - Class in cn.ucloud.common.middleware
 
Context() - Constructor for class cn.ucloud.common.middleware.Context
 
Credential - Class in cn.ucloud.common.credential
Credential is an object to represent the credential information
Credential(String, String) - Constructor for class cn.ucloud.common.credential.Credential
Credential constructor
CredentialMiddleware - Class in cn.ucloud.common.middlewares
CredentialMiddleware is the middleware to calculate signature and inject into request
CredentialMiddleware() - Constructor for class cn.ucloud.common.middlewares.CredentialMiddleware
 

D

DefaultClient - Class in cn.ucloud.common.client
 
DefaultClient(Config, Credential) - Constructor for class cn.ucloud.common.client.DefaultClient
 
DefaultTransport - Class in cn.ucloud.common.transport
DefaultTransport is the default implementation of transport
DefaultTransport(String, String) - Constructor for class cn.ucloud.common.transport.DefaultTransport
 

E

encode() - Method in class cn.ucloud.common.request.Request
Encode will encode the request object to a map

F

formatBytes2HexString(byte[]) - Method in class cn.ucloud.common.credential.Credential
 

G

getAction() - Method in class cn.ucloud.common.request.Request
 
getAction() - Method in class cn.ucloud.common.response.Response
 
getBaseUrl() - Method in class cn.ucloud.common.config.Config
 
getBaseUrl() - Method in class cn.ucloud.common.transport.DefaultTransport
 
getConfig() - Method in class cn.ucloud.common.client.DefaultClient
 
getConfig() - Method in class cn.ucloud.common.middleware.Context
 
getCredential() - Method in class cn.ucloud.common.client.DefaultClient
 
getCredential() - Method in class cn.ucloud.common.middleware.Context
 
getException() - Method in class cn.ucloud.common.middleware.Context
 
getHttpClient() - Method in class cn.ucloud.common.transport.DefaultTransport
 
getLogger() - Method in class cn.ucloud.common.config.Config
 
getMaxRetries() - Method in class cn.ucloud.common.config.Config
 
getMessage() - Method in class cn.ucloud.common.response.Response
 
getPrivateKey() - Method in class cn.ucloud.common.credential.Credential
 
getProjectId() - Method in class cn.ucloud.common.config.Config
 
getProjectId() - Method in class cn.ucloud.common.request.Request
 
getPublicKey() - Method in class cn.ucloud.common.credential.Credential
 
getPublicKey() - Method in class cn.ucloud.common.request.Request
 
getRegion() - Method in class cn.ucloud.common.config.Config
 
getRegion() - Method in class cn.ucloud.common.request.Request
 
getRequest() - Method in class cn.ucloud.common.middleware.Context
 
getRequestId() - Method in exception class cn.ucloud.common.exception.RetCodeException
 
getRequestId() - Method in class cn.ucloud.common.response.Response
 
getResponse() - Method in class cn.ucloud.common.middleware.Context
 
getRetCode() - Method in exception class cn.ucloud.common.exception.RetCodeException
 
getRetCode() - Method in class cn.ucloud.common.response.Response
 
getSignature() - Method in class cn.ucloud.common.request.Request
 
getTimeout() - Method in class cn.ucloud.common.config.Config
 
getTransport() - Method in class cn.ucloud.common.client.DefaultClient
 
getUserAgent() - Method in class cn.ucloud.common.config.Config
 
getUserAgent() - Method in class cn.ucloud.common.transport.DefaultTransport
 

H

handleException(Context) - Method in class cn.ucloud.common.middleware.BaseMiddleware
 
handleException(Context) - Method in interface cn.ucloud.common.middleware.Middleware
Handle the context includes exception object
handleException(Context) - Method in class cn.ucloud.common.middlewares.LogMiddleware
 
handleRequest(Context) - Method in class cn.ucloud.common.middleware.BaseMiddleware
 
handleRequest(Context) - Method in interface cn.ucloud.common.middleware.Middleware
Handle the context includes request object
handleRequest(Context) - Method in class cn.ucloud.common.middlewares.CredentialMiddleware
 
handleRequest(Context) - Method in class cn.ucloud.common.middlewares.LogMiddleware
 
handleRequest(Context) - Method in class cn.ucloud.common.middlewares.ValidationMiddleware
 
handleResponse(Context) - Method in class cn.ucloud.common.middleware.BaseMiddleware
 
handleResponse(Context) - Method in interface cn.ucloud.common.middleware.Middleware
Handle the context includes response object
handleResponse(Context) - Method in class cn.ucloud.common.middlewares.LogMiddleware
 

I

invoke(Request, Class<? extends Response>) - Method in interface cn.ucloud.common.client.Client
invoke api from request and response
invoke(Request, Class<? extends Response>) - Method in class cn.ucloud.common.client.DefaultClient
 
invoke(Request, Class<? extends Response>) - Method in class cn.ucloud.common.transport.DefaultTransport
 
invoke(Request, Class<? extends Response>) - Method in interface cn.ucloud.common.transport.Transport
 

L

loadMaxRetries() - Method in class cn.ucloud.common.request.Request
 
loadTimeout() - Method in class cn.ucloud.common.request.Request
 
LogMiddleware - Class in cn.ucloud.common.middlewares
LogMiddleware is the middleware to print logs
LogMiddleware() - Constructor for class cn.ucloud.common.middlewares.LogMiddleware
 

M

Middleware - Interface in cn.ucloud.common.middleware
 

N

NotEmpty - Annotation Type in cn.ucloud.common.annotation
Annotation to mark the field is required

R

Request - Class in cn.ucloud.common.request
Request is the base-class of all request object
Request() - Constructor for class cn.ucloud.common.request.Request
 
Response - Class in cn.ucloud.common.response
Response is the base-class of all response object
Response() - Constructor for class cn.ucloud.common.response.Response
 
RetCodeException - Exception Class in cn.ucloud.common.exception
RetCodeException is the exception of a logic exception returned by remote service
RetCodeException(Integer, String, String) - Constructor for exception class cn.ucloud.common.exception.RetCodeException
 

S

setAction(String) - Method in class cn.ucloud.common.request.Request
 
setAction(String) - Method in class cn.ucloud.common.response.Response
 
setBaseUrl(String) - Method in class cn.ucloud.common.config.Config
 
setBaseUrl(String) - Method in class cn.ucloud.common.transport.DefaultTransport
 
setConfig(Config) - Method in class cn.ucloud.common.client.DefaultClient
 
setConfig(Config) - Method in class cn.ucloud.common.middleware.Context
 
setCredential(Credential) - Method in class cn.ucloud.common.client.DefaultClient
 
setCredential(Credential) - Method in class cn.ucloud.common.middleware.Context
 
setException(Exception) - Method in class cn.ucloud.common.middleware.Context
 
setHttpClient(CloseableHttpClient) - Method in class cn.ucloud.common.transport.DefaultTransport
 
setLogger(Logger) - Method in class cn.ucloud.common.config.Config
 
setMaxRetries(Integer) - Method in class cn.ucloud.common.config.Config
 
setMessage(String) - Method in class cn.ucloud.common.response.Response
 
setPrivateKey(String) - Method in class cn.ucloud.common.credential.Credential
 
setProjectId(String) - Method in class cn.ucloud.common.config.Config
 
setProjectId(String) - Method in class cn.ucloud.common.request.Request
 
setPublicKey(String) - Method in class cn.ucloud.common.credential.Credential
 
setPublicKey(String) - Method in class cn.ucloud.common.request.Request
 
setRegion(String) - Method in class cn.ucloud.common.config.Config
 
setRegion(String) - Method in class cn.ucloud.common.request.Request
 
setRequest(Request) - Method in class cn.ucloud.common.middleware.Context
 
setRequestId(String) - Method in class cn.ucloud.common.response.Response
 
setResponse(Response) - Method in class cn.ucloud.common.middleware.Context
 
setRetCode(Integer) - Method in class cn.ucloud.common.response.Response
 
setSignature(String) - Method in class cn.ucloud.common.request.Request
 
setTimeout(Integer) - Method in class cn.ucloud.common.config.Config
 
setTransport(Transport) - Method in class cn.ucloud.common.client.DefaultClient
 
setUserAgent(String) - Method in class cn.ucloud.common.config.Config
 
setUserAgent(String) - Method in class cn.ucloud.common.transport.DefaultTransport
 
sign(Request) - Method in class cn.ucloud.common.credential.Credential
 

T

Transport - Interface in cn.ucloud.common.transport
 
TransportException - Exception Class in cn.ucloud.common.exception
 
TransportException(String, Throwable) - Constructor for exception class cn.ucloud.common.exception.TransportException
Transport exception occurs when the transport has been invoking

U

UCloudException - Exception Class in cn.ucloud.common.exception
UCloudException is the base-class of all the exception throw by SDK
UCloudException(String) - Constructor for exception class cn.ucloud.common.exception.UCloudException
 
UCloudException(String, Throwable) - Constructor for exception class cn.ucloud.common.exception.UCloudException
 
UCloudParam - Annotation Type in cn.ucloud.common.annotation
Annotation of UCloud parameters
useMiddleware(Middleware) - Method in class cn.ucloud.common.client.DefaultClient
 

V

ValidationMiddleware - Class in cn.ucloud.common.middlewares
ValidationMiddleware is a middleware to inject common configuration
ValidationMiddleware() - Constructor for class cn.ucloud.common.middlewares.ValidationMiddleware
 
ValidatorException - Exception Class in cn.ucloud.common.exception
ValidatorException is the exception of parameters validator
ValidatorException(String) - Constructor for exception class cn.ucloud.common.exception.ValidatorException
 
value() - Element in annotation type cn.ucloud.common.annotation.UCloudParam
 
verifyAc(Request) - Method in class cn.ucloud.common.credential.Credential
 

W

withMaxRetries(Integer) - Method in class cn.ucloud.common.request.Request
 
withTimeout(Integer) - Method in class cn.ucloud.common.request.Request
 
B C D E F G H I L M N R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form