public class LongPollingTransport extends HttpClientTransport
| Modifier and Type | Class and Description |
|---|---|
static class |
LongPollingTransport.Factory |
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
PREFIX |
JSON_CONTEXT_OPTION, logger, MAX_NETWORK_DELAY_OPTION, SCHEDULER_OPTION| Constructor and Description |
|---|
LongPollingTransport(Map<String,Object> options,
org.eclipse.jetty.client.HttpClient httpClient) |
LongPollingTransport(String url,
Map<String,Object> options,
org.eclipse.jetty.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts this transport, usually by cancelling all pending Bayeux messages that require a response,
such as
/meta/connects, without waiting for a response. |
boolean |
accept(String bayeuxVersion) |
protected void |
customize(org.eclipse.jetty.client.api.Request request) |
void |
init() |
void |
send(TransportListener listener,
List<Message.Mutable> messages) |
getCookieStore, getURL, setCookieStore, setURLgenerateJSON, getMaxNetworkDelay, parseMessages, setMaxNetworkDelay, terminategetName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefixpublic static final String NAME
public static final String PREFIX
public LongPollingTransport(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()
ClientTransport/meta/connects, without waiting for a response.abort in class ClientTransportBayeuxClient.abort()public void send(TransportListener listener, List<Message.Mutable> messages)
send in class ClientTransportprotected void customize(org.eclipse.jetty.client.api.Request request)
Copyright © 2008–2014 Dojo Foundation. All rights reserved.