|
![]() |
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Handler | The interface for writing HTTP handlers. |
Class Summary | |
---|---|
ChainHandler | Allows multiple handlers to be invoked sequentially for a single HTTP request. |
FileHandler | Standard handler for fetching static files. |
Main | Sample main program for starting an http server. |
Request | Represents an HTTP transaction. |
Request.HttpOutputStream | The HttpOutputStream provides the convenience method
writeBytes for writing the byte representation of a
string, without bringing in the overhead and the deprecated warnings
associated with a java.io.DataOutputStream . |
Server | Yet another HTTP/1.1 server. |
TestRequest | Version of Request for testing purposes. |
Generic http protocol stack, essential handlers and drivers.
This package consists of a small server side http protocol stack,
designed to be embedded in other applications. The primary classes in
this package are Server
, Request
and
Main
The remaining classes are in this package either because they are
tightly bound to the implementation of the "Server" and "Request"
classes, or they are almost always used with the basic server.
The design points are:
Classes that implement this API are called handlers, to distinguish them from the moral equivalent, but more complex servlets used by the Java Web Server.
To ease the deployment and testing of applications that use the server, two additional capabilities are included: a simple driver (main) program, and a coupler of handler classes, so the protocol stack can be used out of the box to provide a simple file service.
|
Version Kenai-svn-r24, Generated 08/18/09 Copyright (c) 2001-2009, Sun Microsystems. |
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |