Java org.springframework.web.socket.sockjs.frame SockJsFrame fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.socket.sockjs.frame SockJsFrame fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.socket.sockjs.frame SockJsFrame.

The text is from its open source code.

Constructor

SockJsFrame(String content)
Create a new instance frame with the given frame content.

Method

SockJsFramecloseFrame(int code, @Nullable String reason)
StringgetContent()
Return the SockJS frame content (never null ).
StringgetFrameData()
Return data contained in a SockJS "message" and "close" frames.
SockJsFrameTypegetType()
Return the SockJS frame type.
SockJsFrameheartbeatFrame()