Package io.netty.handler.codec.stomp
Interface StompHeaders
- All Superinterfaces:
Headers<CharSequence,
,CharSequence, StompHeaders> Iterable<Map.Entry<CharSequence,
CharSequence>>
- All Known Implementing Classes:
DefaultStompHeaders
The multimap data structure for the STOMP header names and values. It also provides the constants for the standard
STOMP header names and values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
static final AsciiString
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(CharSequence name, CharSequence value, boolean ignoreCase) Returnstrue
if a header with thename
andvalue
exists,false
otherwise.getAllAsString
(CharSequence name) getAsString
(CharSequence name) Headers.get(Object)
and convert the result to aString
.Methods inherited from interface io.netty.handler.codec.Headers
add, add, add, add, addBoolean, addByte, addChar, addDouble, addFloat, addInt, addLong, addObject, addObject, addObject, addShort, addTimeMillis, clear, contains, contains, containsBoolean, containsByte, containsChar, containsDouble, containsFloat, containsInt, containsLong, containsObject, containsShort, containsTimeMillis, get, get, getAll, getAllAndRemove, getAndRemove, getAndRemove, getBoolean, getBoolean, getBooleanAndRemove, getBooleanAndRemove, getByte, getByte, getByteAndRemove, getByteAndRemove, getChar, getChar, getCharAndRemove, getCharAndRemove, getDouble, getDouble, getDoubleAndRemove, getDoubleAndRemove, getFloat, getFloat, getFloatAndRemove, getFloatAndRemove, getInt, getInt, getIntAndRemove, getIntAndRemove, getLong, getLong, getLongAndRemove, getLongAndRemove, getShort, getShort, getShortAndRemove, getShortAndRemove, getTimeMillis, getTimeMillis, getTimeMillisAndRemove, getTimeMillisAndRemove, isEmpty, iterator, names, remove, set, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setObject, setObject, setShort, setTimeMillis, size
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
ACCEPT_VERSION
-
HOST
-
LOGIN
-
PASSCODE
-
HEART_BEAT
-
VERSION
-
SESSION
-
SERVER
-
DESTINATION
-
ID
-
ACK
-
TRANSACTION
-
RECEIPT
-
MESSAGE_ID
-
SUBSCRIPTION
-
RECEIPT_ID
-
MESSAGE
-
CONTENT_LENGTH
-
CONTENT_TYPE
-
-
Method Details
-
getAsString
Headers.get(Object)
and convert the result to aString
.- Parameters:
name
- the name of the header to retrieve- Returns:
- the first header value if the header is found.
null
if there's no such header.
-
getAllAsString
-
iteratorAsString
-
contains
Returnstrue
if a header with thename
andvalue
exists,false
otherwise.If
ignoreCase
istrue
then a case insensitive compare is done on the value.- Parameters:
name
- the name of the header to findvalue
- the value of the header to findignoreCase
-true
then a case insensitive compare is run to compare values. otherwise a case sensitive compare is run to compare values.
-