Package cn.ucloud.common.middleware
Class Context
- java.lang.Object
-
- cn.ucloud.common.middleware.Context
-
public class Context extends Object
-
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfiggetConfig()CredentialgetCredential()ExceptiongetException()RequestgetRequest()ResponsegetResponse()voidsetConfig(Config config)voidsetCredential(Credential credential)voidsetException(Exception exception)voidsetRequest(Request request)voidsetResponse(Response response)
-
-
-
Method Detail
-
getConfig
public Config getConfig()
-
setConfig
public void setConfig(Config config)
-
getCredential
public Credential getCredential()
-
setCredential
public void setCredential(Credential credential)
-
getRequest
public Request getRequest()
-
setRequest
public void setRequest(Request request)
-
getResponse
public Response getResponse()
-
setResponse
public void setResponse(Response response)
-
getException
public Exception getException()
-
setException
public void setException(Exception exception)
-
-