org.apache.cxf.ws.eventing.shared.handlers
Class SubscriptionReferenceParsingHandler
java.lang.Object
org.apache.cxf.ws.eventing.shared.handlers.SubscriptionReferenceParsingHandler
- All Implemented Interfaces:
- Handler<SOAPMessageContext>, SOAPHandler<SOAPMessageContext>
public class SubscriptionReferenceParsingHandler
- extends Object
- implements SOAPHandler<SOAPMessageContext>
Subscription reference parsing handler is a SOAP handler on the Subscription Manager's side
which takes care of parsing the reference parameters and retrieving the subscription
ID from SOAP headers before the message is passed to the Subscription Manager itself.
In handleMessage method, it is supposed to retrieve the UUID of the subscription and
save it into the SOAPMessageContext as a String with the key 'uuid'
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionReferenceParsingHandler
public SubscriptionReferenceParsingHandler(String namespace,
String elementName)
SubscriptionReferenceParsingHandler
public SubscriptionReferenceParsingHandler()
getHeaders
public Set<QName> getHeaders()
- Specified by:
getHeaders
in interface SOAPHandler<SOAPMessageContext>
handleMessage
public boolean handleMessage(SOAPMessageContext context)
- Specified by:
handleMessage
in interface Handler<SOAPMessageContext>
handleFault
public boolean handleFault(SOAPMessageContext context)
- Specified by:
handleFault
in interface Handler<SOAPMessageContext>
close
public void close(MessageContext context)
- Specified by:
close
in interface Handler<SOAPMessageContext>
Apache CXF