Class WebSocketTransport
- java.lang.Object
-
- org.atmosphere.socketio.transport.AbstractTransport
-
- org.atmosphere.socketio.transport.WebSocketTransport
-
- All Implemented Interfaces:
Transport
public class WebSocketTransport extends AbstractTransport
- Author:
- Sebastien Dionne : sebastien.dionne@gmail.com, Jeanfrancois Arcand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classWebSocketTransport.SocketIOWebSocketSessionWrapperImpl
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTRANSPORT_NAME-
Fields inherited from class org.atmosphere.socketio.transport.AbstractTransport
POST_MESSAGE_RECEIVED, SESSION_KEY
-
-
Constructor Summary
Constructors Constructor Description WebSocketTransport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()org.atmosphere.cpr.Actionhandle(org.atmosphere.cpr.AtmosphereResourceImpl resource, org.atmosphere.cpr.AtmosphereHandler atmosphereHandler, SocketIOSessionFactory sessionFactory)-
Methods inherited from class org.atmosphere.socketio.transport.AbstractTransport
decodePostData, destroy, extractSessionId, extractString, isDisconnectRequest
-
-
-
-
Field Detail
-
TRANSPORT_NAME
public static final java.lang.String TRANSPORT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- The name of the transport instance.
-
handle
public org.atmosphere.cpr.Action handle(org.atmosphere.cpr.AtmosphereResourceImpl resource, org.atmosphere.cpr.AtmosphereHandler atmosphereHandler, SocketIOSessionFactory sessionFactory) throws java.io.IOException- Throws:
java.io.IOException
-
-