Apache CXF API

org.apache.cxf.interceptor
Interface Interceptor<T extends Message>

All Known Subinterfaces:
PhaseInterceptor<T>, SoapInterceptor
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 Interceptor<T extends Message>

Base interface for all interceptors.


Method Summary
 void handleFault(T 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.
 void handleMessage(T message)
          Intercepts a message.
 

Method Detail

handleMessage

void handleMessage(T message)
                   throws Fault
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Parameters:
message -
Throws:
Fault

handleFault

void handleFault(T 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.

Parameters:
message -

Apache CXF API

Apache CXF