Interface SmartEndpointInterceptor

All Superinterfaces:
EndpointInterceptor
All Known Subinterfaces:
SmartSoapEndpointInterceptor
All Known Implementing Classes:
DelegatingSmartEndpointInterceptor, DelegatingSmartSoapEndpointInterceptor, PayloadRootSmartSoapEndpointInterceptor, SoapActionSmartEndpointInterceptor

public interface SmartEndpointInterceptor extends EndpointInterceptor
Extension of the EndpointInterceptor interface that adds a way to decide whether the interceptor should intercept a given message context.
Since:
2.0
Author:
Arjen Poutsma
  • Method Details

    • shouldIntercept

      boolean shouldIntercept(MessageContext messageContext, Object endpoint)
      Indicates whether this interceptor should intercept the given message context.
      Parameters:
      messageContext - contains the incoming request message
      endpoint - chosen endpoint to invoke
      Returns:
      true to indicate that this interceptor applies; false otherwise