Interface PayloadEndpoint
- All Known Implementing Classes:
AbstractDom4jPayloadEndpoint
,AbstractDomPayloadEndpoint
,AbstractJDomPayloadEndpoint
,AbstractSaxPayloadEndpoint
,AbstractXomPayloadEndpoint
public interface PayloadEndpoint
Defines the basic contract for Web Services interested in just the message payload.
The main entrypoint is invoke(Source)
, which gets invoked with the contents of the requesting message.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
-
Method Summary
-
Method Details
-
invoke
Invokes the endpoint with the given request payload, and possibly returns a response.- Parameters:
request
- the payload of the request message, may benull
- Returns:
- the payload of the response message, may be
null
to indicate no response - Throws:
Exception
- if an exception occurs
-