@Deprecated public class UnSubscribeCommandBuilder extends CommandBuilderConstants
ATT_DIALECT, ATT_XPATH, DELIVERY_QNAME, EXPIRES, FILTER_QNAME, IDENTIFIER, NOTIFY_TO_QNAME, RENEW, SUBSCRIBE_QNAME
Constructor and Description |
---|
UnSubscribeCommandBuilder(org.apache.axis2.context.MessageContext messageCtx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.soap.SOAPEnvelope |
fromSubscription(org.wso2.carbon.event.core.subscription.Subscription subscription)
Deprecated.
(01)
|
org.wso2.carbon.event.core.subscription.Subscription |
toSubscription(org.apache.axiom.soap.SOAPEnvelope envelope)
Deprecated.
create request for unsubscribe request
(01)
|
public UnSubscribeCommandBuilder(org.apache.axis2.context.MessageContext messageCtx)
public org.wso2.carbon.event.core.subscription.Subscription toSubscription(org.apache.axiom.soap.SOAPEnvelope envelope) throws InvalidMessageException
envelope
- The soap envelope containing the unsubscribe requestInvalidMessageException
public org.apache.axiom.soap.SOAPEnvelope fromSubscription(org.wso2.carbon.event.core.subscription.Subscription subscription)
subscription
- The subscription which must be removed.Copyright © 2017 WSO2. All rights reserved.