public class JSONPPollingTransport extends XHRTransport
| Modifier and Type | Class and Description |
|---|---|
protected class |
JSONPPollingTransport.XHRPollingSessionHelper |
XHRTransport.XHRSessionHelper| Modifier and Type | Field and Description |
|---|---|
static java.lang.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.
|
java.lang.String |
getName() |
handledecodePostData, destroy, extractSessionId, extractString, isDisconnectRequestpublic static final java.lang.String TRANSPORT_NAME
public java.lang.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 java.io.IOException
connect in class XHRTransportjava.io.IOExceptionprotected SocketIOSession connect(org.atmosphere.cpr.AtmosphereResourceImpl resource, org.atmosphere.cpr.AtmosphereHandler atmosphereHandler, SocketIOSessionFactory sessionFactory) throws java.io.IOException
connect in class XHRTransportjava.io.IOExceptionCopyright © 2020. All Rights Reserved.