Package org.cometd.client.transport
Class HttpClientTransport
- java.lang.Object
-
- org.cometd.common.AbstractTransport
-
- org.cometd.client.transport.ClientTransport
-
- org.cometd.client.transport.HttpClientTransport
-
- All Implemented Interfaces:
Transport
- Direct Known Subclasses:
AbstractWebSocketTransport
,LongPollingTransport
public abstract class HttpClientTransport extends ClientTransport
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cometd.client.transport.ClientTransport
ClientTransport.Factory, ClientTransport.FailureHandler, ClientTransport.FailureInfo
-
-
Field Summary
-
Fields inherited from class org.cometd.client.transport.ClientTransport
JSON_CONTEXT_OPTION, logger, MAX_MESSAGE_SIZE_OPTION, MAX_NETWORK_DELAY_OPTION, SCHEDULER_OPTION, URL_OPTION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<HttpCookie>
getCookies(URI uri)
protected CookieStore
getCookieStore()
void
setCookieStore(CookieStore cookieStore)
protected void
storeCookies(URI uri, Map<String,List<String>> cookies)
-
Methods inherited from class org.cometd.client.transport.ClientTransport
abort, accept, generateJSON, getMaxNetworkDelay, getURL, init, parseMessages, send, setMaxNetworkDelay, setURL, terminate
-
Methods inherited from class org.cometd.common.AbstractTransport
getName, getOption, getOption, getOption, getOption, getOption, getOptionNames, getOptionPrefix, setOption, setOptionPrefix
-
-
-
-
Method Detail
-
getCookieStore
protected CookieStore getCookieStore()
-
setCookieStore
public void setCookieStore(CookieStore cookieStore)
-
getCookies
protected List<HttpCookie> getCookies(URI uri)
-
-