public class LogMiddleware extends BaseMiddleware implements Middleware
| 构造器和说明 |
|---|
LogMiddleware() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleException(Context context)
Handle the context includes exception object
|
Request |
handleRequest(Context context)
Handle the context includes request object
|
Response |
handleResponse(Context context)
Handle the context includes response object
|
public Request handleRequest(Context context) throws UCloudException
MiddlewarehandleRequest 在接口中 MiddlewarehandleRequest 在类中 BaseMiddlewarecontext - Context of invoking lifecycleUCloudException - the exception during invokingpublic Response handleResponse(Context context) throws UCloudException
MiddlewarehandleResponse 在接口中 MiddlewarehandleResponse 在类中 BaseMiddlewarecontext - Context of invoking lifecycleUCloudException - the exception during invokingpublic void handleException(Context context) throws UCloudException
MiddlewarehandleException 在接口中 MiddlewarehandleException 在类中 BaseMiddlewarecontext - Context of invoking lifecycleUCloudException - the exception during invokingCopyright © 2022. All rights reserved.