android.net.http
Class Headers
java.lang.Object
android.net.http.Headers
public final class Headers
- extends Object
Manages received headers
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONN_CLOSE
public static final int CONN_CLOSE
- indicate HTTP 1.0 connection close after the response
- See Also:
- Constant Field Values
CONN_KEEP_ALIVE
public static final int CONN_KEEP_ALIVE
- indicate HTTP 1.1 connection keep alive
- See Also:
- Constant Field Values
NO_CONN_TYPE
public static final int NO_CONN_TYPE
- See Also:
- Constant Field Values
NO_TRANSFER_ENCODING
public static final long NO_TRANSFER_ENCODING
- See Also:
- Constant Field Values
NO_CONTENT_LENGTH
public static final long NO_CONTENT_LENGTH
- See Also:
- Constant Field Values
TRANSFER_ENCODING
public static final String TRANSFER_ENCODING
- See Also:
- Constant Field Values
CONTENT_LEN
public static final String CONTENT_LEN
- See Also:
- Constant Field Values
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
CONTENT_ENCODING
public static final String CONTENT_ENCODING
- See Also:
- Constant Field Values
CONN_DIRECTIVE
public static final String CONN_DIRECTIVE
- See Also:
- Constant Field Values
LOCATION
public static final String LOCATION
- See Also:
- Constant Field Values
PROXY_CONNECTION
public static final String PROXY_CONNECTION
- See Also:
- Constant Field Values
WWW_AUTHENTICATE
public static final String WWW_AUTHENTICATE
- See Also:
- Constant Field Values
PROXY_AUTHENTICATE
public static final String PROXY_AUTHENTICATE
- See Also:
- Constant Field Values
CONTENT_DISPOSITION
public static final String CONTENT_DISPOSITION
- See Also:
- Constant Field Values
ACCEPT_RANGES
public static final String ACCEPT_RANGES
- See Also:
- Constant Field Values
EXPIRES
public static final String EXPIRES
- See Also:
- Constant Field Values
CACHE_CONTROL
public static final String CACHE_CONTROL
- See Also:
- Constant Field Values
LAST_MODIFIED
public static final String LAST_MODIFIED
- See Also:
- Constant Field Values
ETAG
public static final String ETAG
- See Also:
- Constant Field Values
SET_COOKIE
public static final String SET_COOKIE
- See Also:
- Constant Field Values
PRAGMA
public static final String PRAGMA
- See Also:
- Constant Field Values
REFRESH
public static final String REFRESH
- See Also:
- Constant Field Values
Headers
public Headers()
parseHeader
public void parseHeader(CharArrayBuffer buffer)
getTransferEncoding
public long getTransferEncoding()
getContentLength
public long getContentLength()
getConnectionType
public int getConnectionType()
getContentType
public String getContentType()
getContentEncoding
public String getContentEncoding()
getLocation
public String getLocation()
getWwwAuthenticate
public String getWwwAuthenticate()
getProxyAuthenticate
public String getProxyAuthenticate()
getContentDisposition
public String getContentDisposition()
getAcceptRanges
public String getAcceptRanges()
getExpires
public String getExpires()
getCacheControl
public String getCacheControl()
getLastModified
public String getLastModified()
getEtag
public String getEtag()
getSetCookie
public ArrayList<String> getSetCookie()
getPragma
public String getPragma()
getRefresh
public String getRefresh()
setContentLength
public void setContentLength(long value)
setContentType
public void setContentType(String value)
setContentEncoding
public void setContentEncoding(String value)
setLocation
public void setLocation(String value)
setWwwAuthenticate
public void setWwwAuthenticate(String value)
setProxyAuthenticate
public void setProxyAuthenticate(String value)
setContentDisposition
public void setContentDisposition(String value)
setAcceptRanges
public void setAcceptRanges(String value)
setExpires
public void setExpires(String value)
setCacheControl
public void setCacheControl(String value)
setLastModified
public void setLastModified(String value)
setEtag
public void setEtag(String value)
Please submit a feedback, bug or feature