public final class Frame extends Object
In STOMP protocol, the frame basically defines an Action, some headers and eventually a body.
Action
headers
A frame is immutable.
Frame(Action action, Map<String,String> headers, String body)
getAction()
String
getBody()
Map<String,String>
getHeaders()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Frame(Action action, Map<String,String> headers, String body)
Builds a new instance.
action
body
public Action getAction()
Gets the action.
public String getBody()
Gets the body.
public Map<String,String> getHeaders()
Gets the headers.
Copyright © 2014. All Rights Reserved.