com.dyuproject.web.rest
Class WrapperInterceptor
java.lang.Object
com.dyuproject.web.rest.AbstractInterceptor
com.dyuproject.web.rest.WrapperInterceptor
- All Implemented Interfaces:
- Interceptor
- Direct Known Subclasses:
- LoginInterceptor
public class WrapperInterceptor
- extends AbstractInterceptor
Wraps an interceptor for pre-handling and post-handling. This is generally subclassed to
determine which interceptor executes first on pre-handle and post-handle.
- Author:
- David Yu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperInterceptor
public WrapperInterceptor()
setInterceptor
public void setInterceptor(Interceptor interceptor)
getInterceptor
public Interceptor getInterceptor()
init
protected void init()
- Specified by:
init
in class AbstractInterceptor
postHandle
public void postHandle(boolean handled,
RequestContext requestContext)
preHandle
public boolean preHandle(RequestContext requestContext)
throws ServletException,
IOException
- Throws:
ServletException
IOException
Copyright © 2013. All Rights Reserved.