public class WebSocketTransport extends AbstractWebSocketTransport
_logger, ALLOW_MESSAGE_DELIVERY_DURING_HANDSHAKE, HANDSHAKE_RECONNECT_OPTION, INTERVAL_OPTION, JSON_CONTEXT_OPTION, MAX_INTERVAL_OPTION, MAX_LAZY_TIMEOUT_OPTION, MAX_MESSAGE_SIZE_OPTION, MAX_PROCESSING_OPTION, MAX_QUEUE_OPTION, META_CONNECT_DELIVERY_OPTION, TIMEOUT_OPTION
BUFFER_SIZE_OPTION, COMETD_URL_MAPPING_OPTION, ENABLE_EXTENSION_PREFIX_OPTION, IDLE_TIMEOUT_OPTION, MESSAGES_PER_FRAME_OPTION, NAME, PREFIX, PROTOCOL_OPTION, REQUIRE_HANDSHAKE_PER_CONNECTION_OPTION
Constructor | Description |
---|---|
WebSocketTransport(org.cometd.server.BayeuxServerImpl bayeux) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
checkOrigin(java.lang.String origin) |
|
void |
init() |
|
protected void |
modifyHandshake(javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response) |
|
protected java.lang.Object |
newWebSocketEndPoint(org.cometd.bayeux.server.BayeuxContext bayeuxContext) |
allowMessageDeliveryDuringHandshake, destroy, dump, dump, getBayeux, getInterval, getMaxInterval, getMaxLazyTimeout, getMaxMessageSize, getTimeout, isAllowMessageDeliveryDuringHandshake, isHandshakeReconnect, isMetaConnectDeliveryOnly, parseMessages, parseMessages, processReply, setAllowMessageDeliveryDuringHandshake, setHandshakeReconnect, setInterval, setMaxInterval, setMaxLazyTimeout, setMaxMessageSize, setMetaConnectDeliveryOnly, setTimeout, sweep, toJSONBytes, toString
getName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefix
getContext, getMessagesPerFrame, getProtocol, isRequireHandshakePerConnection, normalizeURLMapping, onClose, setContext
public WebSocketTransport(org.cometd.server.BayeuxServerImpl bayeux)
public void init()
init
in class AbstractWebSocketTransport
protected boolean checkOrigin(java.lang.String origin)
protected void modifyHandshake(javax.websocket.server.HandshakeRequest request, javax.websocket.HandshakeResponse response)
protected java.lang.Object newWebSocketEndPoint(org.cometd.bayeux.server.BayeuxContext bayeuxContext)
Copyright © 2008–2017 The CometD Project. All rights reserved.