public class WebSocketTransport extends AbstractWebSocketTransport<javax.websocket.Session>
AbstractWebSocketTransport.AbstractWebSocketScheduler
AbstractServerTransport.Scheduler
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
_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
Constructor and Description |
---|
WebSocketTransport(BayeuxServerImpl bayeux) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkOrigin(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,
String data,
org.eclipse.jetty.util.Callback callback) |
checkProtocol, destroy, getContext, getMessagesPerFrame, getProtocol, getScheduler, handleException, handleJSONParseException, newScheduledExecutor, normalizeURLMapping, onClose
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, toString
getName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefix
public WebSocketTransport(BayeuxServerImpl bayeux)
public void init()
init
in class AbstractWebSocketTransport<javax.websocket.Session>
protected boolean checkOrigin(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, String data, org.eclipse.jetty.util.Callback callback)
send
in class AbstractWebSocketTransport<javax.websocket.Session>
Copyright © 2008–2017 The CometD Project. All rights reserved.