All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Serve.ServeUtils

java.lang.Object
   |
   +----Acme.Serve.ServeUtils

public class ServeUtils
extends Object
Static utilities for minimal Java HTTP server.

Fetch the software.
Fetch the entire Acme package.


Variable Index

 o serverName
 o serverUrl
 o serverVersion

Constructor Index

 o ServeUtils()

Method Index

 o getCookie(HttpServletRequest, String)
Get a cookie of a given name.
 o setCookie(HttpServletResponse, String, String)
Set a cookie.
 o writeAddress(OutputStream)
Write a standard-format HTML address for this server.

Variables

 o serverName
 public static final String serverName
 o serverVersion
 public static final String serverVersion
 o serverUrl
 public static final String serverUrl

Constructors

 o ServeUtils
 public ServeUtils()

Methods

 o writeAddress
 public static void writeAddress(OutputStream o) throws IOException
Write a standard-format HTML address for this server.

 o getCookie
 public static String getCookie(HttpServletRequest req,
                                String name)
Get a cookie of a given name.

 o setCookie
 public static void setCookie(HttpServletResponse res,
                              String name,
                              String value)
Set a cookie.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs