Package org.apache.cxf.ws.security.wss4j
Class PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal
java.lang.Object
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal
- All Implemented Interfaces:
Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
- Enclosing class:
- PolicyBasedWSS4JOutInterceptor
public final class PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal
extends Object
implements PhaseInterceptor<SoapMessage>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<PhaseInterceptor<? extends Message>>Returns a collection of Interceptors that should be added to the chain whenever this interceptor is added.getAfter()Returns a set containing the IDs of the interceptors that should be executed before this interceptor.Returns a set containing the IDs of the interceptors that should be executed after this interceptor.getId()Returns the ID of this interceptor.getPhase()Returns the phase in which this interceptor is excecuted.voidhandleFault(SoapMessage message) Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.voidhandleMessage(SoapMessage message) Intercepts a message.
-
Constructor Details
-
PolicyBasedWSS4JOutInterceptorInternal
public PolicyBasedWSS4JOutInterceptorInternal()
-
-
Method Details
-
handleMessage
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Specified by:
handleMessagein interfaceInterceptor<SoapMessage>- Throws:
Fault
-
getAfter
Description copied from interface:PhaseInterceptorReturns a set containing the IDs of the interceptors that should be executed before this interceptor. This interceptor will be placed in the chain after the interceptors in the set.- Specified by:
getAfterin interfacePhaseInterceptor<SoapMessage>- Returns:
- the IDs of the interceptors
-
getBefore
Description copied from interface:PhaseInterceptorReturns a set containing the IDs of the interceptors that should be executed after this interceptor. This interceptor will be placed in the inteceptor chain before the interceptors in the set.- Specified by:
getBeforein interfacePhaseInterceptor<SoapMessage>- Returns:
- the ids of the interceptors
-
getId
Description copied from interface:PhaseInterceptorReturns the ID of this interceptor.- Specified by:
getIdin interfacePhaseInterceptor<SoapMessage>- Returns:
- the ID
-
getPhase
Description copied from interface:PhaseInterceptorReturns the phase in which this interceptor is excecuted.- Specified by:
getPhasein interfacePhaseInterceptor<SoapMessage>- Returns:
- the phase
-
handleFault
Description copied from interface:InterceptorCalled for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.- Specified by:
handleFaultin interfaceInterceptor<SoapMessage>
-
getAdditionalInterceptors
Description copied from interface:PhaseInterceptorReturns a collection of Interceptors that should be added to the chain whenever this interceptor is added. May return null.- Specified by:
getAdditionalInterceptorsin interfacePhaseInterceptor<SoapMessage>- Returns:
- the collection of interceptors
-