org.apache.cxf.ws.eventing.eventsource
Interface EventSourceEndpoint
- All Known Implementing Classes:
- AbstractEventSource
@Addressing(enabled=true,
required=true)
public interface EventSourceEndpoint
The interface definition of an Event Source web service, according to the specification.
See http://www.w3.org/TR/ws-eventing/#Subscribe
subscribeOp
@Action(input="http://www.w3.org/2011/03/ws-evt/Subscribe",
output="http://www.w3.org/2011/03/ws-evt/SubscribeResponse")
SubscribeResponse subscribeOp(Subscribe body)
throws IOException
- The Subscribe operation of the Event Source.
See http://www.w3.org/TR/ws-eventing/#Subscribe
- Parameters:
body
- JAXB class Subscribe representing the body of the subscription request
- Returns:
- JAXB class SubscribeResponse representing the response for the requester
- Throws:
IOException
Apache CXF