public interface InterceptorChain extends Iterable<Interceptor<? extends Message>>
Modifier and Type | Interface and Description |
---|---|
static class |
InterceptorChain.State |
Modifier and Type | Field and Description |
---|---|
static String |
STARTING_AFTER_INTERCEPTOR_ID |
static String |
STARTING_AT_INTERCEPTOR_ID |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
void |
add(Collection<Interceptor<? extends Message>> i)
Adds multiple interceptors to the interceptor chain.
|
void |
add(Interceptor<? extends Message> i)
Adds a single interceptor to the interceptor chain.
|
boolean |
doIntercept(Message message) |
boolean |
doInterceptStartingAfter(Message message,
String startingAfterInterceptorID) |
boolean |
doInterceptStartingAt(Message message,
String startingAtInterceptorID) |
MessageObserver |
getFaultObserver() |
ListIterator<Interceptor<? extends Message>> |
getIterator() |
InterceptorChain.State |
getState() |
void |
pause()
Pauses the current chain.
|
void |
remove(Interceptor<? extends Message> i) |
void |
reset() |
void |
resume()
Resumes the chain.
|
void |
setFaultObserver(MessageObserver i) |
void |
suspend()
Suspends the current chain.
|
void |
unpause()
If the chain is marked as paused, this will JUST mark the chain as
in the EXECUTING phase.
|
static final String STARTING_AFTER_INTERCEPTOR_ID
static final String STARTING_AT_INTERCEPTOR_ID
void add(Interceptor<? extends Message> i)
i
- the interceptor to addvoid add(Collection<Interceptor<? extends Message>> i)
i
- the interceptors to add to the chainvoid remove(Interceptor<? extends Message> i)
boolean doIntercept(Message message)
boolean doInterceptStartingAfter(Message message, String startingAfterInterceptorID)
boolean doInterceptStartingAt(Message message, String startingAtInterceptorID)
void pause()
void suspend()
void resume()
void unpause()
void reset()
InterceptorChain.State getState()
ListIterator<Interceptor<? extends Message>> getIterator()
MessageObserver getFaultObserver()
void setFaultObserver(MessageObserver i)
void abort()
Apache CXF