public interface Middleware
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
Request handleRequest(Context context) throws UCloudException
context - Context of invoking lifecycleUCloudException - the exception during invokingResponse handleResponse(Context context) throws UCloudException
context - Context of invoking lifecycleUCloudException - the exception during invokingvoid handleException(Context context) throws UCloudException
context - Context of invoking lifecycleUCloudException - the exception during invokingCopyright © 2022. All rights reserved.