public static interface TransportMessage.TransportMutable extends TransportMessage, org.cometd.bayeux.server.ServerMessage.Mutable
TransportMessage
.TransportMessage.TransportMutable
AUTH_SUCCESSFUL_FIELD
ADVICE_FIELD, CHANNEL_FIELD, CLIENT_ID_FIELD, CONNECTION_TYPE_FIELD, DATA_FIELD, ERROR_FIELD, EXT_FIELD, ID_FIELD, INTERVAL_FIELD, MIN_VERSION_FIELD, RECONNECT_FIELD, RECONNECT_HANDSHAKE_VALUE, RECONNECT_NONE_VALUE, RECONNECT_RETRY_VALUE, SUBSCRIPTION_FIELD, SUCCESSFUL_FIELD, SUPPORTED_CONNECTION_TYPES_FIELD, TIMEOUT_FIELD, TIMESTAMP_FIELD, TRANSPORT_FIELD, VERSION_FIELD
Modifier and Type | Method and Description |
---|---|
void |
setConnectionType(String connectionType)
Specifies the
Message.CONNECTION_TYPE_FIELD . |
void |
setSubscription(String subscription)
Specifies the
Message.SUBSCRIPTION_FIELD . |
void |
setSupportedConnectionTypes(String... supportedConnectionTypes)
Specifies the
Message.SUPPORTED_CONNECTION_TYPES_FIELD . |
void |
setVersion(String version)
Specifies the
Message.VERSION_FIELD . |
getConnectionType, getError, getSubscription, getSupportedConnectionTypes, getVersion, isAuthSuccessful
setAssociated, setLazy
getAdvice, getDataAsMap, getExt, setChannel, setClientId, setData, setId, setSuccessful
getAdvice, getChannel, getChannelId, getClientId, getData, getDataAsMap, getExt, getId, getJSON, isMeta, isPublishReply, isSuccessful
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
void setVersion(String version)
Message.VERSION_FIELD
.version
- Version.void setSupportedConnectionTypes(String... supportedConnectionTypes)
Message.SUPPORTED_CONNECTION_TYPES_FIELD
.supportedConnectionTypes
- Supported connection types.void setConnectionType(String connectionType)
Message.CONNECTION_TYPE_FIELD
.connectionType
- Connection type.void setSubscription(String subscription)
Message.SUBSCRIPTION_FIELD
.subscription
- Subscription.Copyright © 2005–2016. All rights reserved.