@Deprecated public abstract class AbstractXomPayloadEndpoint extends TransformerObjectSupport implements PayloadEndpoint
Element, and allows subclasses to create a response by returning an Element.
An AbstractXomPayloadEndpoint only accept one payload element. Multiple payload elements are not in
accordance with WS-I.
Elementlogger| Constructor and Description |
|---|
AbstractXomPayloadEndpoint()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected nu.xom.Serializer |
createSerializer(OutputStream outputStream)
Deprecated.
Creates a
Serializer to be used for writing the response to. |
Source |
invoke(Source request)
Deprecated.
Invokes the endpoint with the given request payload, and possibly returns a response.
|
protected abstract nu.xom.Element |
invokeInternal(nu.xom.Element requestElement)
Deprecated.
Template method.
|
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transformpublic final Source invoke(Source request) throws Exception
PayloadEndpointinvoke in interface PayloadEndpointrequest - the payload of the request message, may be nullnull to indicate no responseException - if an exception occursprotected nu.xom.Serializer createSerializer(OutputStream outputStream)
Serializer to be used for writing the response to.
Default implementation uses the UTF-8 encoding and does not set any options, but this may be changed in subclasses.
outputStream - the output stream to serialize toprotected abstract nu.xom.Element invokeInternal(nu.xom.Element requestElement)
throws Exception
Element, and allows
subclasses to return a response Element.requestElement - the contents of the SOAP message as XOM elementnull to specify no response.ExceptionCopyright © 2023 VMware, Inc.. All rights reserved.