public class JettyWebSocketTransport extends AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>
AbstractWebSocketTransport.AbstractWebSocketSchedulerAbstractServerTransport.SchedulerBUFFER_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 |
|---|
JettyWebSocketTransport(BayeuxServerImpl bayeux) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkOrigin(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest request,
java.lang.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,
java.lang.String data,
org.eclipse.jetty.util.Callback callback) |
checkProtocol, destroy, getContext, getMessagesPerFrame, getProtocol, getScheduler, handleException, handleJSONParseException, newScheduledExecutor, normalizeURLMapping, onCloseallowMessageDeliveryDuringHandshake, dump, dump, getAdvice, getBayeux, getInterval, getMaxInterval, getMaxLazyTimeout, getMaxMessageSize, getTimeout, isAllowMessageDeliveryDuringHandshake, isHandshakeReconnect, isMetaConnectDeliveryOnly, parseMessages, parseMessages, processReply, scheduleExpiration, setAllowMessageDeliveryDuringHandshake, setHandshakeReconnect, setInterval, setMaxInterval, setMaxLazyTimeout, setMaxMessageSize, setMetaConnectDeliveryOnly, setTimeout, sweep, toJSONBytes, toStringgetName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefixpublic 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,
java.lang.String origin)
protected void send(org.eclipse.jetty.websocket.api.Session wsSession,
org.cometd.bayeux.server.ServerSession session,
java.lang.String data,
org.eclipse.jetty.util.Callback callback)
send in class AbstractWebSocketTransport<org.eclipse.jetty.websocket.api.Session>Copyright © 2008–2019 The CometD Project. All rights reserved.