public interface StompHeaders extends io.netty.handler.codec.Headers<CharSequence,CharSequence,StompHeaders>
Modifier and Type | Field and Description |
---|---|
static io.netty.util.AsciiString |
ACCEPT_VERSION |
static io.netty.util.AsciiString |
ACK |
static io.netty.util.AsciiString |
CONTENT_LENGTH |
static io.netty.util.AsciiString |
CONTENT_TYPE |
static io.netty.util.AsciiString |
DESTINATION |
static io.netty.util.AsciiString |
HEART_BEAT |
static io.netty.util.AsciiString |
HOST |
static io.netty.util.AsciiString |
ID |
static io.netty.util.AsciiString |
LOGIN |
static io.netty.util.AsciiString |
MESSAGE |
static io.netty.util.AsciiString |
MESSAGE_ID |
static io.netty.util.AsciiString |
PASSCODE |
static io.netty.util.AsciiString |
RECEIPT |
static io.netty.util.AsciiString |
RECEIPT_ID |
static io.netty.util.AsciiString |
SERVER |
static io.netty.util.AsciiString |
SESSION |
static io.netty.util.AsciiString |
SUBSCRIPTION |
static io.netty.util.AsciiString |
TRANSACTION |
static io.netty.util.AsciiString |
VERSION |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(CharSequence name,
CharSequence value,
boolean ignoreCase)
Returns
true if a header with the name and value exists, false otherwise. |
List<String> |
getAllAsString(CharSequence name)
|
String |
getAsString(CharSequence name)
Headers.get(Object) and convert the result to a String . |
Iterator<Map.Entry<String,String>> |
iteratorAsString()
|
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
forEach, spliterator
static final io.netty.util.AsciiString ACCEPT_VERSION
static final io.netty.util.AsciiString HOST
static final io.netty.util.AsciiString LOGIN
static final io.netty.util.AsciiString PASSCODE
static final io.netty.util.AsciiString HEART_BEAT
static final io.netty.util.AsciiString VERSION
static final io.netty.util.AsciiString SESSION
static final io.netty.util.AsciiString SERVER
static final io.netty.util.AsciiString DESTINATION
static final io.netty.util.AsciiString ID
static final io.netty.util.AsciiString ACK
static final io.netty.util.AsciiString TRANSACTION
static final io.netty.util.AsciiString RECEIPT
static final io.netty.util.AsciiString MESSAGE_ID
static final io.netty.util.AsciiString SUBSCRIPTION
static final io.netty.util.AsciiString RECEIPT_ID
static final io.netty.util.AsciiString MESSAGE
static final io.netty.util.AsciiString CONTENT_LENGTH
static final io.netty.util.AsciiString CONTENT_TYPE
String getAsString(CharSequence name)
Headers.get(Object)
and convert the result to a String
.name
- the name of the header to retrievenull
if there's no such header.List<String> getAllAsString(CharSequence name)
boolean contains(CharSequence name, CharSequence value, boolean ignoreCase)
true
if a header with the name
and value
exists, false
otherwise.
If ignoreCase
is true
then a case insensitive compare is done on the value.
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.Copyright © 2008–2021 The Netty Project. All rights reserved.