public class WebSocketTransport extends AbstractWebSocketTransport
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
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()
Initializes the transport, resolving default and direct options.
|
protected void |
modifyHandshake(javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response) |
protected Object |
newWebSocketEndPoint(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
getName, getOption, getOptionNames, getOptionPrefix
public WebSocketTransport(BayeuxServerImpl bayeux)
public void init()
AbstractServerTransport
init
in class AbstractWebSocketTransport
protected boolean checkOrigin(String origin)
protected void modifyHandshake(javax.websocket.server.HandshakeRequest request, javax.websocket.HandshakeResponse response)
protected Object newWebSocketEndPoint(BayeuxContext bayeuxContext)
Copyright © 2008–2024 The CometD Project. All rights reserved.