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:
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
- Author:
- Arjen Poutsma
-
Constructor Summary
ConstructorDescriptionPayloadRootSmartSoapEndpointInterceptor
(EndpointInterceptor delegate, String namespaceUri, String localPart) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setTransformerHelper
(TransformerHelper transformerHelper) protected boolean
shouldIntercept
(WebServiceMessage request, Object endpoint) Indicates whether this interceptor should intercept the given request message.Methods inherited from class org.springframework.ws.soap.server.endpoint.interceptor.DelegatingSmartSoapEndpointInterceptor
understands
Methods inherited from class org.springframework.ws.server.endpoint.interceptor.DelegatingSmartEndpointInterceptor
afterCompletion, getDelegate, handleFault, handleRequest, handleResponse, shouldIntercept
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.ws.server.EndpointInterceptor
afterCompletion, handleFault, handleRequest, handleResponse
Methods inherited from interface org.springframework.ws.server.SmartEndpointInterceptor
shouldIntercept
-
Constructor Details
-
PayloadRootSmartSoapEndpointInterceptor
public PayloadRootSmartSoapEndpointInterceptor(EndpointInterceptor delegate, String namespaceUri, String localPart)
-
-
Method Details
-
setTransformerHelper
-
shouldIntercept
Description copied from class:DelegatingSmartEndpointInterceptor
Indicates whether this interceptor should intercept the given request message.This implementation always returns
true
.- Overrides:
shouldIntercept
in classDelegatingSmartEndpointInterceptor
- Parameters:
request
- the request messageendpoint
- chosen endpoint to invoke- Returns:
true
to indicate that this interceptor applies;false
otherwise
-