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.
澳门太阳城集团4488 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
2gm.com serverUrl
 public static final String serverUrl

www.2138.com太阳集团

 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

太阳2007娱乐官方网站