public class PayloadEndpointAdapter extends TransformerObjectSupport implements EndpointAdapter
PayloadEndpoint as the endpoint for a EndpointInvocationChain.
This adapter is registered by default by the MessageDispatcher and SoapMessageDispatcher.
PayloadEndpoint,
EndpointInvocationChainlogger| Constructor and Description |
|---|
PayloadEndpointAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(MessageContext messageContext,
Object endpoint)
Use the given
endpoint to handle the request. |
boolean |
supports(Object endpoint)
Does this
EndpointAdapter support the given endpoint? |
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transformpublic boolean supports(Object endpoint)
EndpointAdapterEndpointAdapter support the given endpoint?
Typical EndpointAdapters will base the decision on the endpoint type.
supports in interface EndpointAdapterendpoint - endpoint object to checktrue if this EndpointAdapter supports the supplied endpointpublic void invoke(MessageContext messageContext, Object endpoint) throws Exception
EndpointAdapterendpoint to handle the request.invoke in interface EndpointAdaptermessageContext - the current message contextendpoint - the endpoint to use. This object must have previously been passed to the EndpointAdapter.supports(Object)
method of this interface, which must have returned trueException - in case of errorsCopyright © 2023 VMware, Inc.. All rights reserved.