public interface DispatcherErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
handleError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int code,
Exception e)
Handle passed error code or exception
|
void |
init(javax.servlet.ServletContext ctx)
Init instance after creating
Dispatcher |
void init(javax.servlet.ServletContext ctx)
Dispatcher
ctx
- current ServletContext
void handleError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, int code, Exception e)
request
- current HttpServletRequest
response
- current HttpServletResponse
code
- HTTP Error Code, see HttpServletResponse
for possible error codese
- Exception to reportCopyright © 2000–2020 Apache Software Foundation. All rights reserved.