Java org.springframework.messaging.simp.stomp StompHeaders fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.messaging.simp.stomp StompHeaders fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.messaging.simp.stomp StompHeaders.

The text is from its open source code.

Field

Constructor

StompHeaders()
Create a new instance to be populated with new header values.

Method

MimeTypegetContentType()
Return the content-type header value.
StringgetDestination()
Get the destination header.
StringgetFirst(String headerName)
Return the first header value for the given header name, if any.
long[]getHeartbeat()
Get the heartbeat header.
StringgetId()
Get the id header.
StringgetReceipt()
Get the receipt header.
StringgetReceiptId()
Get the receipt header.
StringgetSubscription()
Get the subscription header.
booleanisHeartbeatEnabled()
Whether heartbeats are enabled.
SetkeySet()
StompHeadersreadOnlyStompHeaders(@Nullable Map> headers)
Return a StompHeaders object that can only be read, not written to.
voidset(String headerName, @Nullable String headerValue)
Set the given, single header value under the given name.
voidsetContentLength(long contentLength)
Set the content-length header.
voidsetContentType(@Nullable MimeType mimeType)
Set the content-type header.
voidsetDestination(@Nullable String destination)
Set the destination header.
voidsetHeartbeat(@Nullable long[] heartbeat)
Set the heartbeat header.
voidsetId(@Nullable String id)
Set the id header.
voidsetMessageId(@Nullable String messageId)
Set the message-id header.
voidsetReceipt(@Nullable String receipt)
Set the receipt header.