@FunctionalInterface public interface SpringBootApiExceptionRequestHandler extends ApiExceptionRequestHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Throwable e)
Handle the request when api valid.
|
void handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Throwable e)
throws IOException
request - Servlet requestresponse - Servlet responsee - the api valid exceptionIOException - users may throw out the ApiException or other error occursCopyright © 2024. All rights reserved.