Apache CXF API

org.apache.cxf.phase
Interface PhaseInterceptor<T extends Message>

All Superinterfaces:
Interceptor<T>
All Known Implementing Classes:
AbstractAuthorizingInInterceptor, AbstractEndpointSelectionInterceptor, AbstractInDatabindingInterceptor, AbstractJAXWSHandlerInterceptor, AbstractJsonpOutInterceptor, AbstractLoggingInterceptor, AbstractMessageResponseTimeInterceptor, AbstractOutDatabindingInterceptor, AbstractPhaseInterceptor, AbstractPolicyInterceptor, AbstractProtocolHandlerInterceptor, AbstractRMInterceptor, AbstractSamlOutInterceptor, AbstractSecurityContextInInterceptor, AbstractSoapInterceptor, AbstractUsernameTokenAuthenticatingInterceptor, AbstractUsernameTokenInInterceptor, AbstractWSS4JInterceptor, AbstractXmlSecOutInterceptor, AegisSchemaValidationInInterceptor, AttachmentInInterceptor, AttachmentInputInterceptor, AttachmentOutInterceptor, AttachmentOutInterceptor.AttachmentOutEndingInterceptor, AttachmentOutputInterceptor, AuthPolicyValidatingInterceptor, BareInInterceptor, BareOutInterceptor, CertConstraintsInterceptor, CheckFaultInterceptor, ClaimsAuthorizingInterceptor, ClientFaultConverter, ClientPolicyInFaultInterceptor, ColocInInterceptor, ColocOutInterceptor, CorbaStreamFaultInInterceptor, CorbaStreamFaultOutInterceptor, CorbaStreamInInterceptor, CorbaStreamOutEndingInterceptor, CorbaStreamOutInterceptor, CryptoCoverageChecker, DecoupledFaultHandler, DefaultCryptoCoverageChecker, DepthRestrictingStreamInterceptor, DocLiteralInInterceptor, EndpointSelectionInterceptor, FaultOutInterceptor, FIStaxInInterceptor, FIStaxOutInterceptor, GZIPInInterceptor, GZIPOutInterceptor, HolderInInterceptor, HolderOutInterceptor, JAASLoginInterceptor, JAXBAttachmentSchemaValidationHack, JAXRSInInterceptor, JAXRSOutInterceptor, JsonpInInterceptor, JsonpPostStreamInterceptor, JsonpPreStreamInterceptor, KerberosAuthOutInterceptor, LoggingInInterceptor, LoggingOutInterceptor, LogicalHandlerFaultInInterceptor, LogicalHandlerFaultOutInterceptor, LogicalHandlerInInterceptor, LogicalHandlerOutInterceptor, MAPAggregator, MAPAggregatorImpl, MAPCodec, MessageModeInInterceptor, MessageModeOutInterceptor, MessageSenderInterceptor, MessageSenderInterceptor.MessageSenderEndingInterceptor, MEXInInterceptor, MTOMPolicyInterceptor, MustUnderstandInterceptor, MustUnderstandInterceptor.MustUnderstandEndingInterceptor, ObjectDispatchInInterceptor, ObjectDispatchOutInterceptor, OneWayProcessorInterceptor, OutgoingChainInterceptor, PersistInInterceptor, PersistOutInterceptor, PolicyBasedWSS4JInInterceptor, PolicyBasedWSS4JOutInterceptor, PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal, PolicyInInterceptor, PolicyOutInterceptor, PolicyVerificationInFaultInterceptor, PolicyVerificationInInterceptor, PolicyVerificationOutInterceptor, ReadHeadersInterceptor, ReadHeadersInterceptor.CheckClosingTagsInterceptor, ResponseTimeMessageInInterceptor, ResponseTimeMessageInvokerInterceptor, ResponseTimeMessageOutInterceptor, ResponseTimeMessageOutInterceptor.EndingInterceptor, RetransmissionInterceptor, RMCaptureInInterceptor, RMDeliveryInterceptor, RMInInterceptor, RMOutInterceptor, RMSoapInterceptor, RPCInInterceptor, RPCOutInterceptor, SAAJInInterceptor, SAAJInInterceptor.SAAJPreInInterceptor, SAAJOutInterceptor, SAAJOutInterceptor.SAAJOutEndingInterceptor, SamlEnvelopedOutInterceptor, SamlFormOutInterceptor, SamlHeaderOutInterceptor, SamlTokenInterceptor, SecureAnnotationsInterceptor, SecurityVerificationOutInterceptor, ServerPolicyOutFaultInterceptor, ServiceInvokerInterceptor, SimpleAuthorizingInterceptor, Soap11FaultInInterceptor, Soap11FaultOutInterceptor, Soap12FaultInInterceptor, Soap12FaultOutInterceptor, SoapActionInInterceptor, SoapActionInInterceptor.SoapActionInAttemptTwoInterceptor, SOAPHandlerFaultInInterceptor, SOAPHandlerFaultOutInterceptor, SOAPHandlerInterceptor, SoapHeaderInterceptor, SoapHeaderOutFilterInterceptor, SoapJMSInInterceptor, SoapOutInterceptor, SoapOutInterceptor.SoapOutEndingInterceptor, SoapPreProtocolOutInterceptor, StartBodyInterceptor, StaxDataBindingInterceptor, StaxInEndingInterceptor, StaxInInterceptor, StaxOutEndingInterceptor, StaxOutInterceptor, SwAInInterceptor, SwAOutInterceptor, TibcoSoapActionInterceptor, TransformInInterceptor, TransformOutInterceptor, URIMappingInterceptor, UsernameTokenInterceptor, WebFaultInInterceptor, WebFaultOutInterceptor, WrappedOutInterceptor, WrappedOutInterceptor.WrappedOutEndingInterceptor, WrapperClassInInterceptor, WrapperClassOutInterceptor, WSDLGetInterceptor, WSS4JInInterceptor, WSS4JOutInterceptor, XmlEncInInterceptor, XmlEncOutInterceptor, XMLFaultInInterceptor, XMLFaultOutInterceptor, XMLMessageInInterceptor, XMLMessageOutInterceptor, XmlSigInInterceptor, XmlSigOutInterceptor

public interface PhaseInterceptor<T extends Message>
extends Interceptor<T>

A phase interceptor is an intercetor that participates in a PhaseInterceptorChain. The phase property controls the phase in which the interceptor is placed. The before and after properties allow for fine grained control over where the phase the interceptor is placed. They specify the IDs of the interceptors that must be placed before and after the interceptor.

Author:
Dan Diephouse
See Also:
PhaseInterceptorChain

Method Summary
 Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
          Returns a collection of Interceptors that should be added to the chain whenever this interceptor is added.
 Set<String> getAfter()
          Returns a set containing the IDs of the interceptors that should be executed before this interceptor.
 Set<String> getBefore()
          Returns a set containing the IDs of the interceptors that should be executed after this interceptor.
 String getId()
          Returns the ID of this interceptor.
 String getPhase()
          Returns the phase in which this interceptor is excecuted.
 
Methods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault, handleMessage
 

Method Detail

getAfter

Set<String> getAfter()
Returns 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.

Returns:
the IDs of the interceptors

getBefore

Set<String> getBefore()
Returns 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.

Returns:
the ids of the interceptors

getId

String getId()
Returns the ID of this interceptor.

Returns:
the ID

getPhase

String getPhase()
Returns the phase in which this interceptor is excecuted.

Returns:
the phase

getAdditionalInterceptors

Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
Returns a collection of Interceptors that should be added to the chain whenever this interceptor is added. May return null.

Returns:
the collection of interceptors

Apache CXF API

Apache CXF