@PrototypeScoped public class DefaultInterceptorStack extends java.lang.Object implements InterceptorStack
| Constructor and Description |
|---|
DefaultInterceptorStack(InterceptorHandlerFactory handlerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Class<? extends Interceptor> type)
Adds this interceptor at the end of the stack.
|
void |
addAsNext(java.lang.Class<? extends Interceptor> type)
Adds this interceptor at the head of the stack.
|
void |
next(ResourceMethod method,
java.lang.Object resourceInstance)
Invokes the next interceptor on the stack.
|
java.lang.String |
toString() |
public DefaultInterceptorStack(InterceptorHandlerFactory handlerFactory)
public void next(ResourceMethod method, java.lang.Object resourceInstance) throws InterceptionException
InterceptorStacknext in interface InterceptorStackInterceptionExceptionpublic void add(java.lang.Class<? extends Interceptor> type)
InterceptorStackadd in interface InterceptorStackpublic void addAsNext(java.lang.Class<? extends Interceptor> type)
InterceptorStackaddAsNext in interface InterceptorStackpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 Caelum. All Rights Reserved.