public class LongPollingTransport extends HttpClientTransport
HttpClientTransport.Cookie, HttpClientTransport.CookieProvider, HttpClientTransport.StandardCookieProvider| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
PREFIX |
INTERVAL_OPTION, JSON_CONTEXT, logger, MAX_NETWORK_DELAY_OPTION, TIMEOUT_OPTION| Constructor and Description |
|---|
LongPollingTransport(Map<String,Object> options,
org.eclipse.jetty.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
boolean |
accept(String bayeuxVersion) |
static LongPollingTransport |
create(Map<String,Object> options) |
static LongPollingTransport |
create(Map<String,Object> options,
org.eclipse.jetty.client.HttpClient httpClient) |
protected void |
customize(org.eclipse.jetty.client.ContentExchange exchange) |
void |
init() |
void |
send(TransportListener listener,
Message.Mutable... messages) |
getCookie, getCookieProvider, getURL, setCookie, setCookieProvider, setURLdebug, generateJSON, isDebugEnabled, parseMessages, reset, setDebugEnabled, terminategetName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefixpublic static final String NAME
public static final String PREFIX
public static LongPollingTransport create(Map<String,Object> options)
public static LongPollingTransport create(Map<String,Object> options, org.eclipse.jetty.client.HttpClient httpClient)
public boolean accept(String bayeuxVersion)
accept in class ClientTransportpublic void init()
init in class ClientTransportpublic void abort()
abort in class ClientTransportpublic void send(TransportListener listener, Message.Mutable... messages)
send in class ClientTransportprotected void customize(org.eclipse.jetty.client.ContentExchange exchange)
Copyright © 2008-2012 Dojo Foundation. All Rights Reserved.