Class PayloadRootSmartSoapEndpointInterceptor
java.lang.Object
org.springframework.ws.server.endpoint.interceptor.DelegatingSmartEndpointInterceptor
org.springframework.ws.soap.server.endpoint.interceptor.DelegatingSmartSoapEndpointInterceptor
org.springframework.ws.soap.server.endpoint.interceptor.PayloadRootSmartSoapEndpointInterceptor
- All Implemented Interfaces:
org.springframework.core.Ordered, EndpointInterceptor, SmartEndpointInterceptor, SmartSoapEndpointInterceptor, SoapEndpointInterceptor
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
-
Field Summary
Fields inherited from class DelegatingSmartEndpointInterceptor
DEFAULT_ORDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionPayloadRootSmartSoapEndpointInterceptor(EndpointInterceptor delegate, String namespaceUri, String localPart) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTransformerHelper(TransformerHelper transformerHelper) protected booleanshouldIntercept(WebServiceMessage request, Object endpoint) Indicates whether this interceptor should intercept the given request message.Methods inherited from class DelegatingSmartSoapEndpointInterceptor
understandsMethods inherited from class DelegatingSmartEndpointInterceptor
afterCompletion, getDelegate, getOrder, handleFault, handleRequest, handleResponse, shouldInterceptMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EndpointInterceptor
afterCompletion, handleFault, handleRequest, handleResponseMethods inherited from interface SmartEndpointInterceptor
shouldIntercept
-
Constructor Details
-
PayloadRootSmartSoapEndpointInterceptor
public PayloadRootSmartSoapEndpointInterceptor(EndpointInterceptor delegate, String namespaceUri, String localPart)
-
-
Method Details
-
setTransformerHelper
-
shouldIntercept
Description copied from class:DelegatingSmartEndpointInterceptorIndicates whether this interceptor should intercept the given request message.This implementation always returns
true.- Overrides:
shouldInterceptin classDelegatingSmartEndpointInterceptor- Parameters:
request- the request messageendpoint- chosen endpoint to invoke- Returns:
trueto indicate that this interceptor applies;falseotherwise
-