类的使用
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 SockJsFrameSockJsFrame. closeFrame(int code, String reason)static SockJsFrameSockJsFrame. closeFrameAnotherConnectionOpen()static SockJsFrameSockJsFrame. closeFrameGoAway()static SockJsFrameSockJsFrame. heartbeatFrame()static SockJsFrameSockJsFrame. messageFrame(SockJsMessageCodec codec, String... messages)static SockJsFrameSockJsFrame. openFrame()参数类型为SockJsFrame的org.springframework.web.socket.sockjs.frame中的方法 修饰符和类型 方法 说明 StringDefaultSockJsFrameFormat. format(SockJsFrame frame)StringSockJsFrameFormat. format(SockJsFrame frame)org.springframework.web.socket.sockjs.transport.session中SockJsFrame的使用
参数类型为SockJsFrame的org.springframework.web.socket.sockjs.transport.session中的方法 修饰符和类型 方法 说明 protected voidAbstractSockJsSession. writeFrame(SockJsFrame frame)For internal use within a TransportHandler and the (TransportHandler-specific) session class.protected voidPollingSockJsSession. writeFrame(SockJsFrame frame)protected voidAbstractHttpSockJsSession. writeFrameInternal(SockJsFrame frame)protected abstract voidAbstractSockJsSession. writeFrameInternal(SockJsFrame frame)protected voidWebSocketServerSockJsSession. writeFrameInternal(SockJsFrame frame)