类 BaseMiddleware
java.lang.Object
cn.ucloud.common.middleware.BaseMiddleware
- 所有已实现的接口:
Middleware
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidhandleException(Context context) Handle the context includes exception objecthandleRequest(Context context) Handle the context includes request objecthandleResponse(Context context) Handle the context includes response object
-
构造器详细资料
-
BaseMiddleware
public BaseMiddleware()
-
-
方法详细资料
-
handleRequest
从接口复制的说明:MiddlewareHandle the context includes request object- 指定者:
handleRequest在接口中Middleware- 参数:
context- Context of invoking lifecycle- 返回:
- request object that modified
- 抛出:
UCloudException- the exception during invoking
-
handleResponse
从接口复制的说明:MiddlewareHandle the context includes response object- 指定者:
handleResponse在接口中Middleware- 参数:
context- Context of invoking lifecycle- 返回:
- response object that modified
- 抛出:
UCloudException- the exception during invoking
-
handleException
从接口复制的说明:MiddlewareHandle the context includes exception object- 指定者:
handleException在接口中Middleware- 参数:
context- Context of invoking lifecycle- 抛出:
UCloudException- the exception during invoking
-