|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterceptorChain
Base interface for all interceptor chains. An interceptor chain is an ordered list of interceptors associated with one portion of the message processing pipeline. Interceptor chains are defined for a client's request processing, response processing, and incoming SOAP fault processing. Interceptor chains are defined for a service's request processing, response processing, and outgoing SOAP fault processing.
Nested Class Summary | |
---|---|
static class |
InterceptorChain.State
|
Field Summary | |
---|---|
static String |
STARTING_AFTER_INTERCEPTOR_ID
|
static String |
STARTING_AT_INTERCEPTOR_ID
|
Method Summary | |
---|---|
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. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Field Detail |
---|
static final String STARTING_AFTER_INTERCEPTOR_ID
static final String STARTING_AT_INTERCEPTOR_ID
Method Detail |
---|
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 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |