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)
Dispatcherctx - current ServletContextvoid handleError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
int code,
Exception e)
request - current HttpServletRequestresponse - current HttpServletResponsecode - HTTP Error Code, see HttpServletResponse for possible error codese - Exception to reportCopyright © 2000–2019 Apache Software Foundation. All rights reserved.