@UnstableApi public final class EmptyHttp2Headers extends EmptyHeaders<java.lang.CharSequence,java.lang.CharSequence,Http2Headers> implements Http2Headers
Http2Headers.PseudoHeaderName
Modifier and Type | Field and Description |
---|---|
static EmptyHttp2Headers |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
authority()
获取
Http2Headers.PseudoHeaderName.AUTHORITY 标题或
null 如果没有这样的标题
|
EmptyHttp2Headers |
authority(java.lang.CharSequence authority)
如果没有这种标题,则设置
Http2Headers.PseudoHeaderName.AUTHORITY 标题或
null
|
boolean |
contains(java.lang.CharSequence name, java.lang.CharSequence value, boolean caseInsensitive)
返回
true 如果与头
name 和
value 存在,
false 其他。
|
java.lang.CharSequence |
method()
获取
Http2Headers.PseudoHeaderName.METHOD 标题或
null 如果没有这样的标题
|
EmptyHttp2Headers |
method(java.lang.CharSequence method)
如果没有这样的标题,则设置
Http2Headers.PseudoHeaderName.METHOD 标题或
null
|
java.lang.CharSequence |
path()
获取
Http2Headers.PseudoHeaderName.PATH 标题或
null 如果没有这样的标题
|
EmptyHttp2Headers |
path(java.lang.CharSequence path)
如果没有这样的标题,则设置
Http2Headers.PseudoHeaderName.PATH 标题或
null
|
java.lang.CharSequence |
scheme()
获取
Http2Headers.PseudoHeaderName.SCHEME 标题或
null 如果没有这样的标题
|
EmptyHttp2Headers |
scheme(java.lang.CharSequence status)
如果没有这样的标题,则设置
Http2Headers.PseudoHeaderName.SCHEME 标题
|
java.lang.CharSequence |
status()
获取
Http2Headers.PseudoHeaderName.STATUS 标题或
null 如果没有这样的标题
|
EmptyHttp2Headers |
status(java.lang.CharSequence status)
如果没有这样的标题,则设置
Http2Headers.PseudoHeaderName.STATUS 标题或
null
|
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, equals, 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, hashCode, isEmpty, iterator, names, remove, set, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setObject, setObject, setShort, setTimeMillis, size, toString, valueIterator
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
iterator, valueIterator
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, names, remove, set, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setObject, setObject, setShort, setTimeMillis, size
public static final EmptyHttp2Headers INSTANCE
public EmptyHttp2Headers method(java.lang.CharSequence method)
Http2Headers
Http2Headers.PseudoHeaderName.METHOD
标题或
null
method
在界面
Http2Headers
public EmptyHttp2Headers scheme(java.lang.CharSequence status)
Http2Headers
Http2Headers.PseudoHeaderName.SCHEME
标头
scheme
在界面
Http2Headers
public EmptyHttp2Headers authority(java.lang.CharSequence authority)
Http2Headers
Http2Headers.PseudoHeaderName.AUTHORITY
标题或
null
authority
在界面
Http2Headers
public EmptyHttp2Headers path(java.lang.CharSequence path)
Http2Headers
Http2Headers.PseudoHeaderName.PATH
标题或
null
path
在界面
Http2Headers
public EmptyHttp2Headers status(java.lang.CharSequence status)
Http2Headers
Http2Headers.PseudoHeaderName.STATUS
标题或
null
status
在界面
Http2Headers
public java.lang.CharSequence method()
Http2Headers
Http2Headers.PseudoHeaderName.METHOD
标题或
null
如果没有这样的标题
method
接口
Http2Headers
public java.lang.CharSequence scheme()
Http2Headers
Http2Headers.PseudoHeaderName.SCHEME
头或
null
如果没有这样的头
scheme
在界面
Http2Headers
public java.lang.CharSequence authority()
Http2Headers
Http2Headers.PseudoHeaderName.AUTHORITY
标题或
null
如果没有这样的标题
authority
接口
Http2Headers
public java.lang.CharSequence path()
Http2Headers
Http2Headers.PseudoHeaderName.PATH
标题或
null
如果没有这样的标题
path
在界面
Http2Headers
public java.lang.CharSequence status()
Http2Headers
Http2Headers.PseudoHeaderName.STATUS
标题或
null
如果没有这样的标题
status
接口
Http2Headers
public boolean contains(java.lang.CharSequence name, java.lang.CharSequence value, boolean caseInsensitive)
Http2Headers
true
如果与头name
和value
存在, false
其他。
如果caseInsensitive
是true
则对值进行不区分大小写的比较。
contains
在界面
Http2Headers
name
- 要查找的标题的名称
value
- 标题的值查找
caseInsensitive
- true
然后运行一个不区分大小写的比较来比较值。
否则运行区分大小写比较来比较值。
Copyright © 2008–2018 The Netty Project. All rights reserved.