Class JSONHttpTransport
java.lang.Object
org.cometd.common.AbstractTransport
org.cometd.server.AbstractServerTransport
org.cometd.server.http.AbstractHttpTransport
org.cometd.server.http.JSONHttpTransport
- All Implemented Interfaces:
ServerTransport, Transport, org.eclipse.jetty.util.component.Dumpable
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractHttpTransport
AbstractHttpTransport.HttpScheduler, AbstractHttpTransport.Writer
Nested classes/interfaces inherited from class AbstractServerTransport
AbstractServerTransport.Scheduler, AbstractServerTransport.SchedulerCancelledException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.Dumpable.DumpAppendable
-
Field Summary
FieldsFields inherited from class AbstractHttpTransport
BROWSER_COOKIE_DOMAIN_OPTION, BROWSER_COOKIE_HTTP_ONLY_OPTION, BROWSER_COOKIE_MAX_AGE_OPTION, BROWSER_COOKIE_NAME_OPTION, BROWSER_COOKIE_PARTITIONED_OPTION, BROWSER_COOKIE_PATH_OPTION, BROWSER_COOKIE_SAME_SITE_OPTION, BROWSER_COOKIE_SECURE_OPTION, DUPLICATE_META_CONNECT_HTTP_RESPONSE_CODE_OPTION, HTTP2_MAX_SESSIONS_PER_BROWSER_OPTION, JSON_DEBUG_OPTION, MAX_SESSIONS_PER_BROWSER_OPTION, MESSAGE_PARAM, MULTI_SESSION_INTERVAL_OPTION, TRUST_CLIENT_SESSION_OPTION
Fields inherited from class AbstractServerTransport
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
Fields inherited from interface org.eclipse.jetty.util.component.Dumpable
LEGEND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(CometDRequest request) protected void
handle
(TransportContext context) Methods inherited from class AbstractHttpTransport
decBrowserId, find, findBrowserId, findCurrentSessions, findSession, flush, getBrowserCookieDomain, getBrowserCookieMaxAge, getBrowserCookieName, getBrowserCookiePath, getBrowserCookieSameSite, getDuplicateMetaConnectHttpResponseCode, getMultiSessionInterval, handle, handleMessage, incBrowserId, init, isBrowserCookieHttpOnly, isBrowserCookiePartitioned, isBrowserCookieSecure, isHTTP2, newBrowserCookie, newHttpScheduler, processMessages, resume, setBrowserId, suspend, sweep, toJSONBytes, write, writeBegin, writeComplete, writeEnd, writeMessage, writePrepare
Methods inherited from class AbstractServerTransport
allowMessageDeliveryDuringHandshake, destroy, dump, getBayeuxServer, getInterval, getJSONContextServer, getMaxInterval, getMaxLazyTimeout, getMaxMessageSize, getTimeout, isAllowMessageDeliveryDuringHandshake, isHandshakeReconnect, isMetaConnectDeliveryOnly, newMetaConnectCycle, parseMessages, processReply, scheduleExpiration, setAllowMessageDeliveryDuringHandshake, setHandshakeReconnect, setInterval, setMaxInterval, setMaxLazyTimeout, setMaxMessageSize, setMetaConnectDeliveryOnly, setTimeout, toJSON, toString
Methods inherited from class AbstractTransport
getName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefix
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dumpSelf
Methods inherited from interface Transport
getName, getOption, getOptionNames, getOptionPrefix
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
JSONHttpTransport
-
-
Method Details
-
accept
- Specified by:
accept
in classAbstractHttpTransport
-
handle
- Specified by:
handle
in classAbstractHttpTransport
-