Example usage for Java org.springframework.messaging.simp.stomp StompHeaders fields, constructors, methods, implement or subclass
The text is from its open source code.
String | CONTENT_TYPE |
String | CONTENT_LENGTH |
String | RECEIPT |
String | DESTINATION |
StompHeaders() Create a new instance to be populated with new header values. |
MimeType | getContentType() Return the content-type header value. |
String | getDestination() Get the destination header. |
String | getFirst(String headerName) Return the first header value for the given header name, if any. |
long[] | getHeartbeat() Get the heartbeat header. |
String | getId() Get the id header. |
String | getReceipt() Get the receipt header. |
String | getReceiptId() Get the receipt header. |
String | getSubscription() Get the subscription header. |
boolean | isHeartbeatEnabled() Whether heartbeats are enabled. |
Set | keySet() |
StompHeaders | readOnlyStompHeaders(@Nullable Map Return a StompHeaders object that can only be read, not written to. |
void | set(String headerName, @Nullable String headerValue) Set the given, single header value under the given name. |
void | setContentLength(long contentLength) Set the content-length header. |
void | setContentType(@Nullable MimeType mimeType) Set the content-type header. |
void | setDestination(@Nullable String destination) Set the destination header. |
void | setHeartbeat(@Nullable long[] heartbeat) Set the heartbeat header. |
void | setId(@Nullable String id) Set the id header. |
void | setMessageId(@Nullable String messageId) Set the message-id header. |
void | setReceipt(@Nullable String receipt) Set the receipt header. |