E
- the thing to interceptpublic final class InterceptorList<E> extends Object
Interceptor
Constructor and Description |
---|
InterceptorList() |
Modifier and Type | Method and Description |
---|---|
void |
add(Interceptor<E> interceptor) |
<I extends Interceptor<E>> |
getInterceptorOfType(Class<I> interceptorClazz)
Gets the first (if any) interceptor of a specific type.
|
protected E |
interceptAll(E input) |
boolean |
isEmpty() |
void |
remove(Interceptor<E> interceptor) |
public void add(Interceptor<E> interceptor)
public void remove(Interceptor<E> interceptor)
public <I extends Interceptor<E>> I getInterceptorOfType(Class<I> interceptorClazz)
interceptorClazz
- public boolean isEmpty()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.