public class RestClient extends Object
Constructor and Description |
---|
RestClient(ConnectionStrategy connection) |
public RestClient(ConnectionStrategy connection)
public List<ServiceBusTopic> listTopics() throws ServiceBusException
ServiceBusException
public List<ServiceBusQueue> listQueues() throws ServiceBusException
ServiceBusException
public List<ServiceBusSubscription> listSubscriptions(String topicPath) throws ServiceBusException
ServiceBusException
public List<ServiceBusRule> listRules(String topicPath, String subscriptionPath) throws ServiceBusException
ServiceBusException
public ServiceBusQueue createQueue(String queuePath, ServiceBusQueueDescription queueDescription) throws ServiceBusException
ServiceBusException
public ServiceBusTopic createTopic(String queuePath, ServiceBusTopicDescription topicDescription) throws ServiceBusException
ServiceBusException
public ServiceBusSubscription createSubscription(String topicPath, String subscriptionPath, ServiceBusSubscriptionDescription subscriptionDescription) throws ServiceBusException
ServiceBusException
public ServiceBusRule createRule(String topicPath, String subscriptionPath, String rulePath, ServiceBusRuleDescription ruleDescription) throws ServiceBusException
ServiceBusException
public ServiceBusQueue updateQueue(String queuePath, ServiceBusQueueDescription queueDescription) throws ServiceBusException
ServiceBusException
public ServiceBusTopic updateTopic(String topicPath, ServiceBusTopicDescription topicDescription) throws ServiceBusException
ServiceBusException
public ServiceBusSubscription updateSubscription(String topicPath, String subscriptionPath, ServiceBusSubscriptionDescription subscriptionDescription) throws ServiceBusException
ServiceBusException
public ServiceBusRule updateRule(String topicPath, String subscriptionPath, String rulePath, ServiceBusRuleDescription ruleDescription) throws ServiceBusException
ServiceBusException
public void deleteQueue(String queuePath) throws ServiceBusException
ServiceBusException
public void deleteTopic(String topicPath) throws ServiceBusException
ServiceBusException
public void deleteSubscription(String topicPath, String subscriptionPath) throws ServiceBusException
ServiceBusException
public void deleteRule(String topicPath, String subscriptionPath, String rulePath) throws ServiceBusException
ServiceBusException
public ServiceBusQueue getQueue(String queuePath) throws ServiceBusException
ServiceBusException
public ServiceBusTopic getTopic(String topicPath) throws ServiceBusException
ServiceBusException
public ServiceBusSubscription getSubscription(String topicPath, String subscriptionPath) throws ServiceBusException
ServiceBusException
public ServiceBusRule getRule(String topicPath, String subscriptionPath, String rulePath) throws ServiceBusException
ServiceBusException
public javax.ws.rs.client.Client getRsClient()
Copyright © 2010–2020. All rights reserved.