public class AsyncJSONTransport extends HttpTransport
| Modifier and Type | Class and Description |
|---|---|
protected class |
AsyncJSONTransport.AbstractReader |
protected class |
AsyncJSONTransport.CharsetReader |
protected class |
AsyncJSONTransport.UTF8Reader |
protected class |
AsyncJSONTransport.Writer |
AbstractServerTransport.OneTimeScheduler, AbstractServerTransport.Scheduler_logger, ALLOW_MULTI_SESSIONS_NO_BROWSER_OPTION, AUTOBATCH_OPTION, BROWSER_ID_OPTION, JSON_DEBUG_OPTION, MAX_SESSIONS_PER_BROWSER_OPTION, MESSAGE_PARAM, MULTI_SESSION_INTERVAL_OPTIONINTERVAL_OPTION, JSON_CONTEXT_OPTION, MAX_INTERVAL_OPTION, MAX_LAZY_TIMEOUT_OPTION, MAX_QUEUE_OPTION, META_CONNECT_DELIVERY_OPTION, TIMEOUT_OPTION| Constructor and Description |
|---|
AsyncJSONTransport(BayeuxServerImpl bayeux) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(javax.servlet.http.HttpServletRequest request) |
protected void |
flush(javax.servlet.AsyncContext asyncContext,
ServerSessionImpl session,
boolean startInterval,
ServerMessage.Mutable... replies) |
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
processMessages(javax.servlet.AsyncContext asyncContext,
ServerMessage.Mutable[] messages) |
protected ServerMessage.Mutable |
processMetaConnect(javax.servlet.AsyncContext asyncContext,
ServerSessionImpl session,
ServerMessage.Mutable message) |
protected ServerMessage.Mutable |
processMetaHandshake(javax.servlet.AsyncContext asyncContext,
ServerSessionImpl session,
ServerMessage.Mutable message) |
protected ServerMessage.Mutable |
processReply(ServerSessionImpl session,
ServerMessage.Mutable reply) |
bayeuxServerHandle, decBrowserId, findBrowserId, getContext, getCurrentRequest, getMultiSessionInterval, handleJSONParseException, incBrowserId, init, isAllowMultiSessionsNoBrowser, isAutoBatch, metaConnectResumed, metaConnectSuspended, setBrowserId, setCurrentRequest, sweepdestroy, getAdvice, getBayeux, getInterval, getMaxInterval, getMaxLazyTimeout, getTimeout, isMetaConnectDeliveryOnly, parseMessages, parseMessages, setAdvice, setInterval, setMaxInterval, setMaxLazyTimeout, setMetaConnectDeliveryOnly, setTimeoutgetName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getOption, getOptionNames, getOptionPrefixpublic AsyncJSONTransport(BayeuxServerImpl bayeux)
public boolean accept(javax.servlet.http.HttpServletRequest request)
accept in class HttpTransportpublic void handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
handle in class HttpTransportIOExceptionjavax.servlet.ServletExceptionprotected void processMessages(javax.servlet.AsyncContext asyncContext,
ServerMessage.Mutable[] messages)
throws IOException
IOExceptionprotected ServerMessage.Mutable processMetaHandshake(javax.servlet.AsyncContext asyncContext, ServerSessionImpl session, ServerMessage.Mutable message)
protected ServerMessage.Mutable processMetaConnect(javax.servlet.AsyncContext asyncContext, ServerSessionImpl session, ServerMessage.Mutable message)
protected ServerMessage.Mutable processReply(ServerSessionImpl session, ServerMessage.Mutable reply)
protected void flush(javax.servlet.AsyncContext asyncContext,
ServerSessionImpl session,
boolean startInterval,
ServerMessage.Mutable... replies)
Copyright © 2008–2013 Dojo Foundation. All rights reserved.