Class PayloadMethodEndpointAdapter
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter
org.springframework.ws.server.endpoint.adapter.PayloadMethodEndpointAdapter
- All Implemented Interfaces:
EndpointAdapter
Deprecated.
Adapter that supports endpoint methods that use marshalling. Supports methods with the following signature:
void handleMyMessage(Source request);or
Source handleMyMessage(Source request);I.e. methods that take a single
Source
parameter, and return either void
or a Source
. The
method can have any name, as long as it is mapped by an EndpointMapping
.
This adapter is registered by default by the MessageDispatcher
and SoapMessageDispatcher
.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
-
Field Summary
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
invokeInternal
(MessageContext messageContext, MethodEndpoint methodEndpoint) Deprecated.Use the given method endpoint to handle the request.protected boolean
supportsInternal
(MethodEndpoint methodEndpoint) Deprecated.Given a method endpoint, return whether or not this adapter can support it.Methods inherited from class org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter
invoke, supports
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
-
Constructor Details
-
PayloadMethodEndpointAdapter
public PayloadMethodEndpointAdapter()Deprecated.
-
-
Method Details
-
supportsInternal
Deprecated.Description copied from class:AbstractMethodEndpointAdapter
Given a method endpoint, return whether or not this adapter can support it.- Specified by:
supportsInternal
in classAbstractMethodEndpointAdapter
- Parameters:
methodEndpoint
- method endpoint to check- Returns:
- whether or not this adapter can adapt the given method
-
invokeInternal
protected void invokeInternal(MessageContext messageContext, MethodEndpoint methodEndpoint) throws Exception Deprecated.Description copied from class:AbstractMethodEndpointAdapter
Use the given method endpoint to handle the request.- Specified by:
invokeInternal
in classAbstractMethodEndpointAdapter
- Parameters:
messageContext
- the current message contextmethodEndpoint
- the method endpoint to use- Throws:
Exception
- in case of errors
-
DefaultMethodEndpointAdapter
andSourcePayloadMethodProcessor
.