Class PayloadRootSmartSoapEndpointInterceptor

All Implemented Interfaces:
EndpointInterceptor, SmartEndpointInterceptor, SmartSoapEndpointInterceptor, SoapEndpointInterceptor

public class PayloadRootSmartSoapEndpointInterceptor extends DelegatingSmartSoapEndpointInterceptor
Implementation of the SmartSoapEndpointInterceptor interface that only intercepts requests that have a specified namespace URI or local part (or both) as payload root.
Since:
2.0
Author:
Arjen Poutsma
  • Constructor Details

    • PayloadRootSmartSoapEndpointInterceptor

      public PayloadRootSmartSoapEndpointInterceptor(EndpointInterceptor delegate, String namespaceUri, String localPart)
  • Method Details

    • setTransformerHelper

      public void setTransformerHelper(org.springframework.xml.transform.TransformerHelper transformerHelper)
    • shouldIntercept

      protected boolean shouldIntercept(WebServiceMessage request, Object endpoint)
      Description copied from class: DelegatingSmartEndpointInterceptor
      Indicates whether this interceptor should intercept the given request message.

      This implementation always returns true.

      Overrides:
      shouldIntercept in class DelegatingSmartEndpointInterceptor
      Parameters:
      request - the request message
      endpoint - chosen endpoint to invoke
      Returns:
      true to indicate that this interceptor applies; false otherwise