Package org.atmosphere.socketio.cpr
Class SocketIOAtmosphereInterceptor
- java.lang.Object
-
- org.atmosphere.socketio.cpr.SocketIOAtmosphereInterceptor
-
- All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereInterceptor,org.atmosphere.inject.AtmosphereConfigAware
@AtmosphereInterceptorService public class SocketIOAtmosphereInterceptor extends java.lang.Object implements org.atmosphere.cpr.AtmosphereInterceptorSocketIO implementation.- Author:
- Sebastien Dionne, Jeanfrancois Arcand
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUFFER_SIZE_INIT_PARAMstatic java.lang.StringSOCKETIO_HEARTBEATstatic java.lang.StringSOCKETIO_HEARTBEAT_TIMEOUTstatic java.lang.StringSOCKETIO_PACKETstatic java.lang.StringSOCKETIO_SUSPENDstatic java.lang.StringSOCKETIO_TIMEOUTstatic java.lang.StringSOCKETIO_TRANSPORT
-
Constructor Summary
Constructors Constructor Description SocketIOAtmosphereInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.atmosphere.cpr.AtmosphereConfig config)voiddestroy()org.atmosphere.cpr.Actioninspect(org.atmosphere.cpr.AtmosphereResource r)voidpostInspect(org.atmosphere.cpr.AtmosphereResource r)java.lang.StringtoString()
-
-
-
Field Detail
-
SOCKETIO_PACKET
public static final java.lang.String SOCKETIO_PACKET
-
BUFFER_SIZE_INIT_PARAM
public static final java.lang.String BUFFER_SIZE_INIT_PARAM
- See Also:
- Constant Field Values
-
SOCKETIO_TRANSPORT
public static final java.lang.String SOCKETIO_TRANSPORT
- See Also:
- Constant Field Values
-
SOCKETIO_TIMEOUT
public static final java.lang.String SOCKETIO_TIMEOUT
- See Also:
- Constant Field Values
-
SOCKETIO_HEARTBEAT
public static final java.lang.String SOCKETIO_HEARTBEAT
- See Also:
- Constant Field Values
-
SOCKETIO_HEARTBEAT_TIMEOUT
public static final java.lang.String SOCKETIO_HEARTBEAT_TIMEOUT
- See Also:
- Constant Field Values
-
SOCKETIO_SUSPEND
public static final java.lang.String SOCKETIO_SUSPEND
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
inspect
public org.atmosphere.cpr.Action inspect(org.atmosphere.cpr.AtmosphereResource r)
- Specified by:
inspectin interfaceorg.atmosphere.cpr.AtmosphereInterceptor
-
postInspect
public void postInspect(org.atmosphere.cpr.AtmosphereResource r)
- Specified by:
postInspectin interfaceorg.atmosphere.cpr.AtmosphereInterceptor
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.atmosphere.cpr.AtmosphereInterceptor
-
configure
public void configure(org.atmosphere.cpr.AtmosphereConfig config)
- Specified by:
configurein interfaceorg.atmosphere.inject.AtmosphereConfigAware
-
-