public class SubscriptionRequestMsg extends Object
generate(String) to start the sequence. If a value is set
to null, it will be removed from the message.
When everything is set, the JSON message can be retrieved with the generateJsonString()
| Constructor and Description |
|---|
SubscriptionRequestMsg(String topic) |
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionRequestMsg |
generate(String topic) |
String |
generateJsonString()
Generates the JSON string for this subscription request.
|
Integer |
getFragmentSize() |
String |
getId() |
Integer |
getQueueLength() |
Integer |
getThrottleRate() |
String |
getTopic() |
String |
getType() |
SubscriptionRequestMsg |
setFragmentSize(Integer fragmentSize) |
SubscriptionRequestMsg |
setId(String id) |
protected void |
setKeyValue(String key,
Object value) |
SubscriptionRequestMsg |
setQueueLength(Integer queueLength) |
SubscriptionRequestMsg |
setThrottleRate(Integer throttleRate) |
SubscriptionRequestMsg |
setTopic(String topic) |
SubscriptionRequestMsg |
setType(String type) |
public SubscriptionRequestMsg(String topic)
public static SubscriptionRequestMsg generate(String topic)
public SubscriptionRequestMsg setTopic(String topic)
public SubscriptionRequestMsg setType(String type)
public SubscriptionRequestMsg setThrottleRate(Integer throttleRate)
public SubscriptionRequestMsg setQueueLength(Integer queueLength)
public SubscriptionRequestMsg setFragmentSize(Integer fragmentSize)
public SubscriptionRequestMsg setId(String id)
public String getTopic()
public String getType()
public Integer getThrottleRate()
public Integer getQueueLength()
public Integer getFragmentSize()
public String getId()
public String generateJsonString()
Copyright © 2016. All rights reserved.