public class DefaultExceptionFilter extends ExceptionFilter
Constructor and Description |
---|
DefaultExceptionFilter() |
Modifier and Type | Method and Description |
---|---|
void |
afterException(HttpServerRequest req,
HttpServerResponse res,
Throwable e)
异常之后的处理逻辑
|
doFilter
public void afterException(HttpServerRequest req, HttpServerResponse res, Throwable e)
ExceptionFilter
afterException
in class ExceptionFilter
req
- HttpServerRequest
res
- HttpServerResponse
e
- 异常Copyright © 2024. All rights reserved.