public interface SpdyHeaders extends Headers<java.lang.CharSequence,java.lang.CharSequence,SpdyHeaders>
SpdyHeadersFrame
的常用实用程序方法。
Modifier and Type | Interface and Description |
---|---|
static class |
SpdyHeaders.HttpNames
SPDY HTTP标头名称
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.CharSequence name, java.lang.CharSequence value, boolean ignoreCase)
返回
true 如果与头
name 和
value 存在,
false 其他。
|
java.util.List<java.lang.String> |
getAllAsString(java.lang.CharSequence name)
|
java.lang.String |
getAsString(java.lang.CharSequence name)
Headers.get(Object) 并将结果转换为
String 。
|
java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.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
java.lang.String getAsString(java.lang.CharSequence name)
Headers.get(Object)
并将结果转换为
String
。
name
- 要检索的标题的名称
null
如果没有这样的标题。
java.util.List<java.lang.String> getAllAsString(java.lang.CharSequence name)
name
- 要检索的标题的名称
List
的标题值或一个空的
List
如果没有值被发现。
java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iteratorAsString()
boolean contains(java.lang.CharSequence name, java.lang.CharSequence value, boolean ignoreCase)
true
如果与头name
和value
存在, false
其他。
如果ignoreCase
是true
则对值进行不区分大小写的比较。
name
- 要查找的标题的名称
value
- 标题的值查找
ignoreCase
-
true
then a case insensitive compare is run to compare values. otherwise a case sensitive compare is run to compare values.
Copyright © 2008–2018 The Netty Project. All rights reserved.