|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.security.ErrorFilter
public class ErrorFilter
Constructor Summary | |
---|---|
ErrorFilter()
|
Method Summary | |
---|---|
void |
destroy()
Cleanup the filter. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
doFilter performs the actual work of a filter, either modifying the request or the response. |
void |
init(FilterConfig config)
Initialize the filter. |
void |
setErrorCode(int code)
|
void |
setException(ServletException exception)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorFilter()
Method Detail |
---|
public void setErrorCode(int code)
public void setException(ServletException exception)
public void init(FilterConfig config)
Filter
init
in interface Filter
public void destroy()
Filter
destroy
in interface Filter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, java.io.IOException
Filter
doFilter
in interface Filter
request
- the servlet requestresponse
- the servlet responsechain
- the next filter in the chain
ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |