public class InterceptorList<CONTAINER> extends Object implements Iterable<Interceptor<CONTAINER>>, Prototype<InterceptorList<CONTAINER>>, Serializable
Prototype.PrototypingContext
Constructor and Description |
---|
InterceptorList() |
InterceptorList(Collection<Interceptor<CONTAINER>> interceptors) |
InterceptorList(Interceptor<CONTAINER>[] interceptors) |
InterceptorList(InterceptorList<CONTAINER> interceptorList) |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(Interceptor<CONTAINER> interceptor) |
void |
addInterceptors(Collection<Interceptor<CONTAINER>> interceptors) |
void |
addInterceptors(Interceptor<CONTAINER>[] interceptors) |
void |
addInterceptors(InterceptorList<CONTAINER> interceptorList) |
void |
clearDisabledForMessage(Message message) |
void |
clearDisabledForMessageEnvelope(MessageEnvelope messageEnvelope) |
void |
clearDisabledForOperation(Operation operation) |
<T> T |
findInterceptor(Class<T> clazz) |
<T> Iterator<T> |
findInterceptors(Class<T> clazz) |
<T extends Interceptor<?>> |
getInterceptor(Class<T> clazz) |
InterceptorList<CONTAINER> |
instanceFor(Prototype.PrototypingContext prototypingContext) |
boolean |
isEmpty() |
ReadOnlyIterator<Interceptor<CONTAINER>> |
iterator() |
void |
removeInterceptor(Interceptor<?> interceptor) |
int |
size() |
String |
stringList() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public InterceptorList(InterceptorList<CONTAINER> interceptorList)
public InterceptorList(Collection<Interceptor<CONTAINER>> interceptors)
public InterceptorList(Interceptor<CONTAINER>[] interceptors)
public InterceptorList()
public void addInterceptors(InterceptorList<CONTAINER> interceptorList)
public void addInterceptors(Collection<Interceptor<CONTAINER>> interceptors)
public void addInterceptors(Interceptor<CONTAINER>[] interceptors)
public void addInterceptor(Interceptor<CONTAINER> interceptor)
public <T extends Interceptor<?>> T getInterceptor(Class<T> clazz)
public void removeInterceptor(Interceptor<?> interceptor)
public boolean isEmpty()
public int size()
public ReadOnlyIterator<Interceptor<CONTAINER>> iterator()
iterator
in interface Iterable<Interceptor<CONTAINER>>
public String stringList()
public <T> T findInterceptor(Class<T> clazz)
public void clearDisabledForOperation(Operation operation)
public void clearDisabledForMessage(Message message)
public void clearDisabledForMessageEnvelope(MessageEnvelope messageEnvelope)
public InterceptorList<CONTAINER> instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor
in interface Prototype<InterceptorList<CONTAINER>>
Xdi2MessagingException
Copyright © 2017. All rights reserved.