类的使用
org.springframework.web.socket.sockjs.frame.SockJsFrame
使用SockJsFrame的程序包 程序包 说明 org.springframework.web.socket.sockjs.frame Support classes for creating SockJS frames including the encoding and decoding of SockJS message frames.org.springframework.web.socket.sockjs.transport.session SockJS specific implementations ofWebSocketSession
.org.springframework.web.socket.sockjs.frame中SockJsFrame的使用
返回SockJsFrame的org.springframework.web.socket.sockjs.frame中的方法 修饰符和类型 方法 说明 static SockJsFrame
SockJsFrame. closeFrame(int code, String reason)
static SockJsFrame
SockJsFrame. closeFrameAnotherConnectionOpen()
static SockJsFrame
SockJsFrame. closeFrameGoAway()
static SockJsFrame
SockJsFrame. heartbeatFrame()
static SockJsFrame
SockJsFrame. messageFrame(SockJsMessageCodec codec, String... messages)
static SockJsFrame
SockJsFrame. openFrame()
参数类型为SockJsFrame的org.springframework.web.socket.sockjs.frame中的方法 修饰符和类型 方法 说明 String
DefaultSockJsFrameFormat. format(SockJsFrame frame)
String
SockJsFrameFormat. format(SockJsFrame frame)
org.springframework.web.socket.sockjs.transport.session中SockJsFrame的使用
参数类型为SockJsFrame的org.springframework.web.socket.sockjs.transport.session中的方法 修饰符和类型 方法 说明 protected void
AbstractSockJsSession. writeFrame(SockJsFrame frame)
For internal use within a TransportHandler and the (TransportHandler-specific) session class.protected void
PollingSockJsSession. writeFrame(SockJsFrame frame)
protected void
AbstractHttpSockJsSession. writeFrameInternal(SockJsFrame frame)
protected abstract void
AbstractSockJsSession. writeFrameInternal(SockJsFrame frame)
protected void
WebSocketServerSockJsSession. writeFrameInternal(SockJsFrame frame)