|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.android.volley.toolbox.HttpHeaderParser
public class HttpHeaderParser
Utility methods for parsing HTTP headers.
コンストラクタの概要 | |
---|---|
HttpHeaderParser()
|
メソッドの概要 | |
---|---|
static Cache.Entry |
parseCacheHeaders(NetworkResponse response)
Extracts a Cache.Entry from a NetworkResponse . |
static java.lang.String |
parseCharset(java.util.Map<java.lang.String,java.lang.String> headers)
Returns the charset specified in the Content-Type of this header, or the HTTP default (ISO-8859-1) if none can be found. |
static long |
parseDateAsEpoch(java.lang.String dateStr)
Parse date in RFC1123 format, and return its value as epoch |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public HttpHeaderParser()
メソッドの詳細 |
---|
public static Cache.Entry parseCacheHeaders(NetworkResponse response)
Cache.Entry
from a NetworkResponse
.
response
- The network response to parse headers from
public static long parseDateAsEpoch(java.lang.String dateStr)
public static java.lang.String parseCharset(java.util.Map<java.lang.String,java.lang.String> headers)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |