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