Class http.HTTPHeader
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class http.HTTPHeader

java.lang.Object
   |
   +----http.HTTPHeader

public class HTTPHeader
extends Object
A Class to handle HTTP-specific functions

Constructor Index

 o HTTPHeader()

Method Index

 o MakeHeader(int, String)
Construct a HTTP header

Constructors

 o HTTPHeader
  public HTTPHeader()

Methods

 o MakeHeader
  public static String MakeHeader(int code,
                                  String contentType)
Construct a HTTP header
Parameters:
code - Return code of the HTTP response.
contentType - MIME content type of the response.
Returns:
a String containing an HTTPD header.

All Packages  Class Hierarchy  This Package  Previous  Next  Index