Apache CXF API

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

All Known Subinterfaces:
PhaseInterceptor<T>, SoapInterceptor
All Known Implementing Classes:
AbstractAuthorizingInInterceptor, AbstractClient.AbstractBodyWriter, AbstractEndpointSelectionInterceptor, AbstractInDatabindingInterceptor, AbstractJAXWSHandlerInterceptor, AbstractJsonpOutInterceptor, AbstractLoggingInterceptor, AbstractMessageResponseTimeInterceptor, AbstractOutDatabindingInterceptor, AbstractPhaseInterceptor, AbstractPolicyInterceptor, AbstractProtocolHandlerInterceptor, AbstractRMInterceptor, AbstractSamlOutInterceptor, AbstractSecurityContextInInterceptor, AbstractSoapInterceptor, AbstractTokenInterceptor, AbstractUsernameTokenAuthenticatingInterceptor, AbstractUsernameTokenInInterceptor, AbstractValidationInterceptor, AbstractWSS4JInterceptor, AbstractWSS4JStaxInterceptor, AbstractXACMLAuthorizingInterceptor, AbstractXmlSecOutInterceptor, AbstractXSLTInterceptor, AttachmentInInterceptor, AttachmentInputInterceptor, AttachmentOutInterceptor, AttachmentOutInterceptor.AttachmentOutEndingInterceptor, AttachmentOutputInterceptor, AuthPolicyValidatingInterceptor, BareInInterceptor, BareOutInterceptor, BeanValidationInInterceptor, BeanValidationOutInterceptor, BinarySecurityTokenInterceptor, CertConstraintsInterceptor, CheckFaultInterceptor, ClaimsAuthorizingInterceptor, ClientFaultConverter, ClientPolicyInFaultInterceptor, ClientRequestFilterInterceptor, ClientResponseFilterInterceptor, ColocInInterceptor, ColocOutInterceptor, CorbaStreamFaultInInterceptor, CorbaStreamFaultOutInterceptor, CorbaStreamInInterceptor, CorbaStreamOutEndingInterceptor, CorbaStreamOutInterceptor, CryptoCoverageChecker, DecoupledFaultHandler, DefaultCryptoCoverageChecker, DelegatingAuthenticationInterceptor, DepthRestrictingStreamInterceptor, DocLiteralInInterceptor, EndpointSelectionInterceptor, FaultOutInterceptor, FilteringInterceptor, FIStaxInInterceptor, FIStaxOutInterceptor, GZIPInInterceptor, GZIPOutInterceptor, HolderInInterceptor, HolderOutInterceptor, JAASLoginInterceptor, JavascriptGetInterceptor, JAXBAttachmentSchemaValidationHack, JAXRSBeanValidationInInterceptor, JAXRSBeanValidationOutInterceptor, JAXRSDefaultFaultOutInterceptor, JAXRSInInterceptor, JAXRSOutExceptionMapperInterceptor, JAXRSOutInterceptor, JsonpInInterceptor, JsonpPostStreamInterceptor, JsonpPreStreamInterceptor, KerberosAuthOutInterceptor, KerberosTokenInterceptor, LoggingInInterceptor, LoggingOutInterceptor, LogicalHandlerFaultInInterceptor, LogicalHandlerFaultOutInterceptor, LogicalHandlerInInterceptor, LogicalHandlerOutInterceptor, MAPAggregator, MAPAggregatorImpl, MAPCodec, MessageModeInInterceptor, MessageModeOutInterceptor, MessageSenderInterceptor, MessageSenderInterceptor.MessageSenderEndingInterceptor, MEXInInterceptor, MTOMPolicyInterceptor, MustUnderstandInterceptor, MustUnderstandInterceptor.MustUnderstandEndingInterceptor, OAuthRequestInterceptor, ObjectDispatchInInterceptor, ObjectDispatchOutInterceptor, OneWayProcessorInterceptor, OperationInfoAuthorizingInterceptor, OutgoingChainInterceptor, PersistInInterceptor, PersistOutInterceptor, PolicyBasedWSS4JInInterceptor, PolicyBasedWSS4JOutInterceptor, PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal, PolicyBasedWSS4JStaxInInterceptor, PolicyBasedWSS4JStaxOutInterceptor, PolicyInInterceptor, PolicyOutInterceptor, PolicyStaxActionInInterceptor, PolicyVerificationInFaultInterceptor, PolicyVerificationInInterceptor, PolicyVerificationOutInterceptor, ReadHeadersInterceptor, ReadHeadersInterceptor.CheckClosingTagsInterceptor, ResponseTimeMessageInInterceptor, ResponseTimeMessageInvokerInterceptor, ResponseTimeMessageOutInterceptor, ResponseTimeMessageOutInterceptor.EndingInterceptor, RetransmissionInterceptor, RetransmissionQueueImpl.CopyOutInterceptor, RMCaptureInInterceptor, RMCaptureOutInterceptor, RMDeliveryInterceptor, RMInInterceptor, RMOutInterceptor, RMSoapInInterceptor, RMSoapOutInterceptor, RPCInInterceptor, RPCOutInterceptor, SAAJInInterceptor, SAAJInInterceptor.SAAJPreInInterceptor, SAAJOutInterceptor, SAAJOutInterceptor.SAAJOutEndingInterceptor, Saml2BearerAuthOutInterceptor, SamlEnvelopedOutInterceptor, SamlFormOutInterceptor, SamlHeaderOutInterceptor, SamlTokenInterceptor, SCTInInterceptor, SCTOutInterceptor, SecureAnnotationsInterceptor, SecurityVerificationOutInterceptor, ServerPolicyOutFaultInterceptor, ServiceInvokerInterceptor, SimpleAuthorizingInterceptor, Soap11FaultInInterceptor, Soap11FaultOutInterceptor, Soap12FaultInInterceptor, Soap12FaultOutInterceptor, SoapActionInInterceptor, SoapActionInInterceptor.SoapActionInAttemptTwoInterceptor, SOAPHandlerFaultInInterceptor, SOAPHandlerFaultOutInterceptor, SOAPHandlerInterceptor, SoapHeaderInterceptor, SoapHeaderOutFilterInterceptor, SoapJMSInInterceptor, SoapOutInterceptor, SoapOutInterceptor.SoapOutEndingInterceptor, SoapPreProtocolOutInterceptor, StartBodyInterceptor, StaxActionInInterceptor, StaxCryptoCoverageChecker, StaxDataBindingInterceptor, StaxInEndingInterceptor, StaxInInterceptor, StaxOutEndingInterceptor, StaxOutInterceptor, StaxSchemaValidationInInterceptor, StaxSchemaValidationOutInterceptor, StaxSecurityContextInInterceptor, SwAInInterceptor, SwAOutInterceptor, TibcoSoapActionInterceptor, TransformInInterceptor, TransformOutInterceptor, UsernameTokenInterceptor, WebFaultInInterceptor, WebFaultOutInterceptor, WrappedOutInterceptor, WrappedOutInterceptor.WrappedOutEndingInterceptor, WrapperClassInInterceptor, WrapperClassOutInterceptor, WSDLGetInterceptor, WSDLGetOutInterceptor, WSS4JInInterceptor, WSS4JOutInterceptor, WSS4JStaxInInterceptor, WSS4JStaxOutInterceptor, XACMLAuthorizingInterceptor, XmlEncInInterceptor, XmlEncOutInterceptor, XMLFaultInInterceptor, XMLFaultOutInterceptor, XMLMessageInInterceptor, XMLMessageOutInterceptor, XmlSecInInterceptor, XmlSecOutInterceptor, XmlSigInInterceptor, XmlSigOutInterceptor, XSLTInInterceptor, XSLTOutInterceptor

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