public class WebSocketTransport extends AbstractWebSocketTransport<javax.websocket.Session>
org.cometd.server.AbstractServerTransport.SchedulerAbstractWebSocketTransport.AbstractWebSocketScheduler_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_OPTIONBUFFER_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 void |
send(javax.websocket.Session wsSession,
org.cometd.bayeux.server.ServerSession session,
java.lang.String data,
org.eclipse.jetty.util.Callback callback) |
allowMessageDeliveryDuringHandshake, dump, dump, getAdvice, getBayeux, getInterval, getMaxInterval, getMaxLazyTimeout, getMaxMessageSize, getTimeout, isAllowMessageDeliveryDuringHandshake, isHandshakeReconnect, isMetaConnectDeliveryOnly, parseMessages, parseMessages, processReply, setAllowMessageDeliveryDuringHandshake, setHandshakeReconnect, setInterval, setMaxInterval, setMaxLazyTimeout, setMaxMessageSize, setMetaConnectDeliveryOnly, setTimeout, sweep, toJSONBytes, toStringgetName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefixcheckProtocol, destroy, getContext, getMessagesPerFrame, getProtocol, getScheduler, handleException, handleJSONParseException, newScheduledExecutor, normalizeURLMapping, onClosepublic WebSocketTransport(org.cometd.server.BayeuxServerImpl bayeux)
public void init()
init in class AbstractWebSocketTransport<javax.websocket.Session>protected boolean checkOrigin(java.lang.String origin)
protected void modifyHandshake(javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response)
protected void send(javax.websocket.Session wsSession,
org.cometd.bayeux.server.ServerSession session,
java.lang.String data,
org.eclipse.jetty.util.Callback callback)
send in class AbstractWebSocketTransport<javax.websocket.Session>Copyright © 2008–2017 The CometD Project. All rights reserved.