| |
|
| java.lang.Object net.matuschek.http.HttpHeader
HttpHeader | public class HttpHeader (Code) | | This object represents a HTTP header. A header simply consist
of a name and a value separated by ":"
author: Daniel Matuschek version: $Id: HttpHeader.java,v 1.4 2003/02/27 11:36:53 oliver_schmidt Exp $ |
CACHE_CONTROL | final public static String CACHE_CONTROL(Code) | | standard headers
|
CONTENT_LENGTH | final public static String CONTENT_LENGTH(Code) | | |
CONTENT_MD5 | final public static String CONTENT_MD5(Code) | | application header used to store MD5 key of content
|
TRANSFER_ENCODING | final public static String TRANSFER_ENCODING(Code) | | |
HttpHeader | public HttpHeader(String name, String value)(Code) | | initializes the HttpHeader from a given name/value pair
|
HttpHeader | public HttpHeader(String httpLine)(Code) | | initializes the HttpHeader from a line (request or response)
Parameters: line - a HTTP header line in the format name: value |
isSetCookie | public boolean isSetCookie()(Code) | | Is this a Set-Cookie header ?
true if this header sets a cookie. |
toLine | public String toLine()(Code) | | Converts the object to a String
a name: value String |
|
|
|