class Frame extends AnyRef
Represents a STOMP frame. STOMP frames are structured as follows. It starts by a command
, followed by a
set of headers. Then the frame may have a body and is finished by a 0
byte. This class represents this
structure and provide access to the different parts.
This class is NOT thread-safe.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Frame
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Frame(_asJava: ext.stomp.Frame)
Value Members
-
def
addHeader(key: String, value: String): Frame
Sets the headers of the frames.
- def asJava: ext.stomp.Frame
- def getBody: Buffer
- def getCommand: Command
- def getDestination: String
- def getHeaders: Map[String, String]
- def getId: String
- def getTransaction: String
-
def
setBody(value: Buffer): Frame
Sets the body of the frame.
-
def
setCommand(value: Command): Frame
Sets the frame command.
- def setDestination(value: String): Frame
- def setHeaders(value: Map[String, String]): Frame
- def setId(value: String): Frame
- def setTransaction(value: String): Frame