nextapp.echoservlet
Class ContextFilter
java.lang.Object
nextapp.echoservlet.ContextFilter
- All Implemented Interfaces:
- EchoFilter
public class ContextFilter
- extends java.lang.Object
- implements EchoFilter
Filter implementation that sets up the threadlocal context. This allows us to
have independent access to the request, response, session, the current user,
etc.. objects, through static methods in ServletSupport and SecuritySupport.
Method Summary |
void |
postProcess(java.lang.Exception exceptionOrNull)
|
javax.servlet.http.HttpServletResponse |
preProcess(Connection conn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextFilter
public ContextFilter()
preProcess
public javax.servlet.http.HttpServletResponse preProcess(Connection conn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Specified by:
preProcess
in interface EchoFilter
postProcess
public void postProcess(java.lang.Exception exceptionOrNull)
- Specified by:
postProcess
in interface EchoFilter