com.dyuproject.web.rest
Class InterceptorCollection
java.lang.Object
com.dyuproject.web.rest.AbstractInterceptor
com.dyuproject.web.rest.InterceptorCollection
- All Implemented Interfaces:
- Interceptor
public class InterceptorCollection
- extends AbstractInterceptor
Wraps an arry of interceptors and does the handle chain.
- Author:
- David Yu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorCollection
public InterceptorCollection()
addInterceptor
public InterceptorCollection addInterceptor(Interceptor interceptor)
indexOf
public int indexOf(Interceptor interceptor)
setInterceptors
public void setInterceptors(Interceptor[] interceptors)
getInterceptors
public Interceptor[] getInterceptors()
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.