public class JettyWebSocketTransport extends AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>
AbstractWebSocketTransport.AbstractWebSocketScheduler
AbstractServerTransport.Scheduler
BUFFER_SIZE_OPTION, COMETD_URL_MAPPING_OPTION, ENABLE_EXTENSION_PREFIX_OPTION, IDLE_TIMEOUT_OPTION, MAX_MESSAGE_SIZE_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_PROCESSING_OPTION, MAX_QUEUE_OPTION, META_CONNECT_DELIVERY_OPTION, TIMEOUT_OPTION
Constructor and Description |
---|
JettyWebSocketTransport(BayeuxServerImpl bayeux) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkOrigin(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request,
String origin) |
void |
init() |
protected void |
modifyUpgrade(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request,
org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse response) |
protected void |
send(org.eclipse.jetty.websocket.api.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, getTimeout, isAllowMessageDeliveryDuringHandshake, isHandshakeReconnect, isMetaConnectDeliveryOnly, parseMessages, parseMessages, processReply, setAllowMessageDeliveryDuringHandshake, setHandshakeReconnect, setInterval, setMaxInterval, setMaxLazyTimeout, setMetaConnectDeliveryOnly, setTimeout, sweep, toJSONBytes, toString
getName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefix
public JettyWebSocketTransport(BayeuxServerImpl bayeux)
public void init()
init
in class AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>
protected void modifyUpgrade(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request, org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse response)
protected boolean checkOrigin(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request, String origin)
protected void send(org.eclipse.jetty.websocket.api.Session wsSession, org.cometd.bayeux.server.ServerSession session, String data, org.eclipse.jetty.util.Callback callback)
send
in class AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>
Copyright © 2008–2017 The CometD Project. All rights reserved.