Class HTTPHeader
java.lang.Object
com.google.appengine.api.urlfetch.HTTPHeader
- All Implemented Interfaces:
Serializable
HTTPHeader
can represent either an HTTP request header, or
an HTTP response header.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHTTPHeader
(String name, String value) Creates a new header with the specified name and value. -
Method Summary
-
Constructor Details
-
HTTPHeader
Creates a new header with the specified name and value.- Parameters:
name
- a notnull
namevalue
- may be a single value or a comma-separated list of values for multivalued headers such asAccept
orSet-Cookie
.
-
-
Method Details
-
getName
-
getValue
-