@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
InterceptorStack
next
in interface InterceptorStack
InterceptionException
public void add(java.lang.Class<? extends Interceptor> type)
InterceptorStack
add
in interface InterceptorStack
public void addAsNext(java.lang.Class<? extends Interceptor> type)
InterceptorStack
addAsNext
in interface InterceptorStack
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 Caelum. All Rights Reserved.