Class AbstractStaxStreamPayloadEndpoint
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.AbstractStaxPayloadEndpoint
org.springframework.ws.server.endpoint.AbstractStaxStreamPayloadEndpoint
- All Implemented Interfaces:
MessageEndpoint
@Deprecated
public abstract class AbstractStaxStreamPayloadEndpoint
extends AbstractStaxPayloadEndpoint
implements MessageEndpoint
Deprecated.
as of Spring Web Services 2.0, in favor of annotated endpoints
Abstract base class for endpoints that handle the message payload with streaming StAX.
Allows subclasses to read the request with a
XMLStreamReader, and to create a
response using a XMLStreamWriter.-
Field Summary
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidinvoke(MessageContext messageContext) Deprecated.Invokes an operation.protected abstract voidinvokeInternal(XMLStreamReader streamReader, XMLStreamWriter streamWriter) Deprecated.Template method.Methods inherited from class org.springframework.ws.server.endpoint.AbstractStaxPayloadEndpoint
createXmlInputFactory, createXmlOutputFactory, getInputFactory, getOutputFactoryMethods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
-
Constructor Details
-
AbstractStaxStreamPayloadEndpoint
public AbstractStaxStreamPayloadEndpoint()Deprecated.
-
-
Method Details
-
invoke
Deprecated.Description copied from interface:MessageEndpointInvokes an operation.The given
messageContextcan be used to create a response.- Specified by:
invokein interfaceMessageEndpoint- Parameters:
messageContext- the message context- Throws:
Exception- if an exception occurs
-
invokeInternal
protected abstract void invokeInternal(XMLStreamReader streamReader, XMLStreamWriter streamWriter) throws Exception Deprecated.Template method. Subclasses must implement this. Offers the request payload as aXMLStreamReader, and aXMLStreamWriterto write the response payload to.- Parameters:
streamReader- the reader to read the payload fromstreamWriter- the writer to write the payload to- Throws:
Exception
-