Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

Header

org.apache.http.Header
Known Indirect Subclasses

Class Overview

Represents an HTTP header field.

The HTTP header fields follow the same generic format as that given in Section 3.1 of RFC 822. Each header field consists of a name followed by a colon (":") and the field value. Field names are case-insensitive. The field value MAY be preceded by any amount of LWS, though a single SP is preferred.

        message-header = field-name ":" [ field-value ]
     field-name     = token
     field-value    = *( field-content | LWS )
     field-content  = <the OCTETs making up the field-value
                      and consisting of either *TEXT or combinations
                      of token, separators, and quoted-string>
       

Summary

Public Methods
abstract HeaderElement[] getElements ()
abstract String getName ()
abstract String getValue ()

Public Methods

public abstract HeaderElement[] getElements ()

Added in API level 1

public abstract String getName ()

Added in API level 1

public abstract String getValue ()

Added in API level 1