public class JSONPPollingTransport extends XHRTransport
| Modifier and Type | Class and Description |
|---|---|
protected class |
JSONPPollingTransport.XHRPollingSessionHelper |
XHRTransport.XHRSessionHelper| Modifier and Type | Field and Description |
|---|---|
static String |
TRANSPORT_NAME |
POST_MESSAGE_RECEIVED, SESSION_KEY| Constructor and Description |
|---|
JSONPPollingTransport(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
protected SocketIOSession |
connect(org.atmosphere.cpr.AtmosphereResourceImpl resource,
org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
SocketIOSessionFactory sessionFactory) |
protected SocketIOSession |
connect(SocketIOSession session,
org.atmosphere.cpr.AtmosphereResourceImpl resource,
org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
SocketIOSessionFactory sessionFactory) |
protected JSONPPollingTransport.XHRPollingSessionHelper |
createHelper(SocketIOSession session)
This method should only be called within the context of an active HTTP request.
|
String |
getName() |
handledecodePostData, destroy, extractSessionId, extractString, isDisconnectRequestpublic static final String TRANSPORT_NAME
public String getName()
protected JSONPPollingTransport.XHRPollingSessionHelper createHelper(SocketIOSession session)
XHRTransportcreateHelper in class XHRTransportprotected SocketIOSession connect(SocketIOSession session, org.atmosphere.cpr.AtmosphereResourceImpl resource, org.atmosphere.cpr.AtmosphereHandler atmosphereHandler, SocketIOSessionFactory sessionFactory) throws IOException
connect in class XHRTransportIOExceptionprotected SocketIOSession connect(org.atmosphere.cpr.AtmosphereResourceImpl resource, org.atmosphere.cpr.AtmosphereHandler atmosphereHandler, SocketIOSessionFactory sessionFactory) throws IOException
connect in class XHRTransportIOExceptionCopyright © 2015. All Rights Reserved.