@Deprecated public abstract class AbstractStaxStreamPayloadEndpoint extends AbstractStaxPayloadEndpoint implements MessageEndpoint
XMLStreamReader, and to create a response using a XMLStreamWriter.invokeInternal(javax.xml.stream.XMLStreamReader,javax.xml.stream.XMLStreamWriter),
XMLStreamReader,
XMLStreamWriterlogger| Constructor and Description |
|---|
AbstractStaxStreamPayloadEndpoint()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(MessageContext messageContext)
Deprecated.
Invokes an operation.
|
protected abstract void |
invokeInternal(XMLStreamReader streamReader,
XMLStreamWriter streamWriter)
Deprecated.
Template method.
|
createXmlInputFactory, createXmlOutputFactory, getInputFactory, getOutputFactorycreateTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transformpublic AbstractStaxStreamPayloadEndpoint()
public final void invoke(MessageContext messageContext) throws Exception
MessageEndpoint
The given messageContext can be used to create a response.
invoke in interface MessageEndpointmessageContext - the message contextException - if an exception occursprotected abstract void invokeInternal(XMLStreamReader streamReader, XMLStreamWriter streamWriter) throws Exception
XMLStreamReader, and a
XMLStreamWriter to write the response payload to.streamReader - the reader to read the payload fromstreamWriter - the writer to write the payload toExceptionCopyright © 2023 VMware, Inc.. All rights reserved.