public class WebSocketJsonEncode extends Object implements javax.websocket.Encoder.Text<SocketMsg>
WebSocket编码器(JSON)
Copyright(C) 2017-2020 上游科技
javax.websocket.Encoder.Binary<T>, javax.websocket.Encoder.BinaryStream<T>, javax.websocket.Encoder.Text<T>, javax.websocket.Encoder.TextStream<T>
WebSocketJsonEncode()
void
destroy()
String
encode(SocketMsg object)
init(javax.websocket.EndpointConfig config)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public WebSocketJsonEncode()
public void init(javax.websocket.EndpointConfig config)
init
javax.websocket.Encoder
public void destroy()
destroy
public String encode(SocketMsg object) throws javax.websocket.EncodeException
encode
javax.websocket.Encoder.Text<SocketMsg>
javax.websocket.EncodeException
Copyright © 2020. All rights reserved.