public class LongPollingTransport extends HttpClientTransport
ClientTransport.Factory| 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()
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,
Message.Mutable... messages) |
getCookieStore, getURL, setCookieStore, setURLgenerateJSON, parseMessages, terminategetName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefixpublic static final String NAME
public static final String PREFIX
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 ClientTransportorg.cometd.client.BayeuxClient#abort()}public void send(TransportListener listener, Message.Mutable... messages)
send in class ClientTransportprotected void customize(org.eclipse.jetty.client.api.Request request)
Copyright © 2008–2013 Dojo Foundation. All rights reserved.