Package com.jbstrap.core.websocket
Class MessageEncoder
java.lang.Object
com.jbstrap.core.websocket.MessageEncoder
- All Implemented Interfaces:
javax.websocket.Encoder
,javax.websocket.Encoder.Text<Object>
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MessageEncoder
public MessageEncoder()
-
-
Method Details
-
encode
Encode message object to the JSON object- Specified by:
encode
in interfacejavax.websocket.Encoder.Text<Object>
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.websocket.Encoder
-
init
public void init(javax.websocket.EndpointConfig arg0) - Specified by:
init
in interfacejavax.websocket.Encoder
-