public class LogMiddleware extends BaseMiddleware implements Middleware
| Constructor and Description |
|---|
LogMiddleware() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface MiddlewarehandleRequest in class BaseMiddlewarecontext - Context of invoking lifecycleUCloudException - the exception during invokingpublic Response handleResponse(Context context) throws UCloudException
MiddlewarehandleResponse in interface MiddlewarehandleResponse in class BaseMiddlewarecontext - Context of invoking lifecycleUCloudException - the exception during invokingpublic void handleException(Context context) throws UCloudException
MiddlewarehandleException in interface MiddlewarehandleException in class BaseMiddlewarecontext - Context of invoking lifecycleUCloudException - the exception during invokingCopyright © 2024. All rights reserved.