public class JettyWebSocketTransport extends AbstractWebSocketTransport
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
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(org.cometd.server.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 Object |
newWebSocketEndPoint(org.cometd.bayeux.server.BayeuxContext bayeuxContext) |
getMessagesPerFrame, getProtocol, isRequireHandshakePerConnection, normalizeURLMapping, onClose, toJSON, writeComplete
allowMessageDeliveryDuringHandshake, destroy, dump, getBayeux, getInterval, getJSONContextServer, getMaxInterval, getMaxLazyTimeout, getMaxMessageSize, getTimeout, isAllowMessageDeliveryDuringHandshake, isHandshakeReconnect, isMetaConnectDeliveryOnly, newMetaConnectCycle, parseMessages, parseMessages, processReply, scheduleExpiration, setAllowMessageDeliveryDuringHandshake, setHandshakeReconnect, setInterval, setMaxInterval, setMaxLazyTimeout, setMaxMessageSize, setMetaConnectDeliveryOnly, setTimeout, sweep, toString
getName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefix
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public JettyWebSocketTransport(org.cometd.server.BayeuxServerImpl bayeux)
public void init()
init
in class AbstractWebSocketTransport
protected Object newWebSocketEndPoint(org.cometd.bayeux.server.BayeuxContext bayeuxContext)
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)
Copyright © 2008–2023 The CometD Project. All rights reserved.