public class SessionDistributedData extends java.lang.Object implements DistributedData
| Constructor and Description |
|---|
SessionDistributedData(javax.servlet.http.HttpSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannelId(java.lang.String channelId,
java.lang.String channelFactoryClassName,
java.lang.String clientType) |
void |
addSubcription(java.lang.String channelId,
CommandMessage message) |
void |
clearChannelIds() |
void |
clearSubscriptions(java.lang.String channelId) |
java.lang.String |
getChannelClientType(java.lang.String channelId) |
java.lang.String |
getChannelFactoryClassName(java.lang.String channelId) |
java.util.Set<java.lang.String> |
getChannelIds() |
java.lang.Object |
getCredentials() |
java.lang.String |
getCredentialsCharset() |
java.lang.String |
getDestinationClientId(java.lang.String destination) |
java.lang.Object[] |
getDestinationDataSelectors(java.lang.String destination) |
java.lang.String |
getDestinationSelector(java.lang.String destination) |
java.lang.String |
getDestinationSubscriptionId(java.lang.String destination) |
java.util.List<CommandMessage> |
getSubscriptions(java.lang.String channelId) |
boolean |
hasChannelId(java.lang.String channelId) |
boolean |
hasCredentials() |
boolean |
hasCredentialsCharset() |
boolean |
hasSubcription(java.lang.String channelId,
java.lang.String subscriptionId) |
void |
removeChannelId(java.lang.String channelId) |
void |
removeCredentials() |
void |
removeCredentialsCharset() |
void |
removeSubcription(java.lang.String channelId,
java.lang.String subscriptionId) |
void |
setCredentials(java.lang.Object credentials) |
void |
setCredentialsCharset(java.lang.String credentialsCharset) |
void |
setDestinationClientId(java.lang.String destination,
java.lang.String clientId) |
void |
setDestinationDataSelectors(java.lang.String destination,
java.lang.Object[] selectors) |
void |
setDestinationSelector(java.lang.String destination,
java.lang.String selector) |
void |
setDestinationSubscriptionId(java.lang.String destination,
java.lang.String subscriptionId) |
public SessionDistributedData(javax.servlet.http.HttpSession session)
public java.lang.Object getCredentials()
getCredentials in interface DistributedDatapublic boolean hasCredentials()
hasCredentials in interface DistributedDatapublic void setCredentials(java.lang.Object credentials)
setCredentials in interface DistributedDatapublic void removeCredentials()
removeCredentials in interface DistributedDatapublic java.lang.String getCredentialsCharset()
getCredentialsCharset in interface DistributedDatapublic boolean hasCredentialsCharset()
hasCredentialsCharset in interface DistributedDatapublic void setCredentialsCharset(java.lang.String credentialsCharset)
setCredentialsCharset in interface DistributedDatapublic void removeCredentialsCharset()
removeCredentialsCharset in interface DistributedDatapublic void addChannelId(java.lang.String channelId,
java.lang.String channelFactoryClassName,
java.lang.String clientType)
addChannelId in interface DistributedDatapublic boolean hasChannelId(java.lang.String channelId)
hasChannelId in interface DistributedDatapublic java.lang.String getChannelFactoryClassName(java.lang.String channelId)
getChannelFactoryClassName in interface DistributedDatapublic java.lang.String getChannelClientType(java.lang.String channelId)
getChannelClientType in interface DistributedDatapublic void removeChannelId(java.lang.String channelId)
removeChannelId in interface DistributedDatapublic java.util.Set<java.lang.String> getChannelIds()
getChannelIds in interface DistributedDatapublic void clearChannelIds()
clearChannelIds in interface DistributedDatapublic void addSubcription(java.lang.String channelId,
CommandMessage message)
addSubcription in interface DistributedDatapublic boolean hasSubcription(java.lang.String channelId,
java.lang.String subscriptionId)
hasSubcription in interface DistributedDatapublic void removeSubcription(java.lang.String channelId,
java.lang.String subscriptionId)
removeSubcription in interface DistributedDatapublic java.util.List<CommandMessage> getSubscriptions(java.lang.String channelId)
getSubscriptions in interface DistributedDatapublic void clearSubscriptions(java.lang.String channelId)
clearSubscriptions in interface DistributedDatapublic java.lang.String getDestinationClientId(java.lang.String destination)
getDestinationClientId in interface DistributedDatapublic void setDestinationClientId(java.lang.String destination,
java.lang.String clientId)
setDestinationClientId in interface DistributedDatapublic java.lang.String getDestinationSubscriptionId(java.lang.String destination)
getDestinationSubscriptionId in interface DistributedDatapublic void setDestinationSubscriptionId(java.lang.String destination,
java.lang.String subscriptionId)
setDestinationSubscriptionId in interface DistributedDatapublic java.lang.String getDestinationSelector(java.lang.String destination)
getDestinationSelector in interface DistributedDatapublic void setDestinationSelector(java.lang.String destination,
java.lang.String selector)
setDestinationSelector in interface DistributedDatapublic java.lang.Object[] getDestinationDataSelectors(java.lang.String destination)
getDestinationDataSelectors in interface DistributedDatapublic void setDestinationDataSelectors(java.lang.String destination,
java.lang.Object[] selectors)
setDestinationDataSelectors in interface DistributedData