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, AbstractSecurityContextInInterceptor, AbstractSoapInterceptor, AbstractUsernameTokenAuthenticatingInterceptor, AbstractUsernameTokenInInterceptor, AbstractWSS4JInterceptor, AegisSchemaValidationInInterceptor, AttachmentInInterceptor, AttachmentInputInterceptor, AttachmentOutInterceptor, AttachmentOutInterceptor.AttachmentOutEndingInterceptor, AttachmentOutputInterceptor, AuthPolicyValidatingInterceptor, BareInInterceptor, BareOutInterceptor, CertConstraintsInterceptor, CheckFaultInterceptor, ClientFaultConverter, ClientPolicyInFaultInterceptor, ColocInInterceptor, ColocOutInterceptor, ContentTypeOutInterceptor, CorbaStreamFaultInInterceptor, CorbaStreamFaultOutInterceptor, CorbaStreamInInterceptor, CorbaStreamOutEndingInterceptor, CorbaStreamOutInterceptor, CryptoCoverageChecker, DatabindingInSetupInterceptor, DatabindingOutSetupInterceptor, DispatchInterceptor, DocLiteralInInterceptor, DocumentWriterInterceptor, EndpointSelectionInterceptor, FaultOutInterceptor, FIStaxInInterceptor, FIStaxOutInterceptor, GZIPInInterceptor, GZIPOutInterceptor, HolderInInterceptor, HolderOutInterceptor, JAASLoginInterceptor, JAXBAttachmentSchemaValidationHack, JAXRSInInterceptor, JAXRSOutInterceptor, JsonpInInterceptor, JsonpPostStreamInterceptor, JsonpPreStreamInterceptor, LoggingInInterceptor, LoggingOutInterceptor, LogicalHandlerFaultInInterceptor, LogicalHandlerFaultOutInterceptor, LogicalHandlerInInterceptor, LogicalHandlerOutInterceptor, MAPAggregator, MAPCodec, MessageModeInInterceptor, MessageModeOutInterceptor, MessageSenderInterceptor, MessageSenderInterceptor.MessageSenderEndingInterceptor, MEXInInterceptor, MTOMPolicyInterceptor, MustUnderstandInterceptor, MustUnderstandInterceptor.MustUnderstandEndingInterceptor, ObjectDispatchInInterceptor, ObjectDispatchOutInterceptor, OneWayDecoupledFaultHandler, OneWayProcessorInterceptor, OutgoingChainInterceptor, PersistInInterceptor, PersistOutInterceptor, PolicyBasedWSS4JInInterceptor, PolicyBasedWSS4JOutInterceptor, 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, SamlTokenInterceptor, SecureAnnotationsInterceptor, ServerPolicyOutFaultInterceptor, ServiceInvokerInterceptor, SimpleAuthorizingInterceptor, Soap11FaultInInterceptor, Soap11FaultOutInterceptor, Soap12FaultInInterceptor, Soap12FaultOutInterceptor, SoapActionInInterceptor, SOAPHandlerFaultInInterceptor, SOAPHandlerFaultOutInterceptor, SOAPHandlerInterceptor, SoapHeaderInterceptor, SoapHeaderOutFilterInterceptor, SoapJMSInInterceptor, SoapOutInterceptor, SoapOutInterceptor.SoapOutEndingInterceptor, SoapPreProtocolOutInterceptor, StartBodyInterceptor, StaxDataBindingInterceptor, StaxInInterceptor, StaxOutEndingInterceptor, StaxOutInterceptor, SwAInInterceptor, SwAOutInterceptor, TibcoSoapActionInterceptor, TransformInInterceptor, TransformOutInterceptor, URIMappingInterceptor, URIParameterInInterceptor, URIParameterOutInterceptor, UsernameTokenInterceptor, WebFaultInInterceptor, WebFaultOutInterceptor, WrappedInInterceptor, WrappedOutInterceptor, WrappedOutInterceptor.WrappedOutEndingInterceptor, WrapperClassInInterceptor, WrapperClassOutInterceptor, WSDLGetInterceptor, WSS4JInInterceptor, WSS4JOutInterceptor, XMLFaultInInterceptor, XMLFaultOutInterceptor, XMLMessageInInterceptor, XMLMessageOutInterceptor

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