Definition at line 56 of file external/Acme/Serve/FileServlet.java.
Public Member Functions | ||||
FileServlet () | ||||
Constructor. | ||||
FileServlet (String throttles) throws IOException | ||||
Constructor with throttling. | ||||
String | getServletInfo () | |||
Returns a string containing information about the author, version, and. | ||||
void | service (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException | |||
Services a single request from the client. | ||||
void | copyStream (InputStream in, OutputStream out) throws IOException | |||
Copy a file from in to out. | ||||
void | log (String msg) | |||
String | getBasePath () | |||
| ||||
void | setBasePath (String string) | |||
| ||||
Static Package Attributes | ||||
static Acme.WildcardDictionary | throttleTab = null | |||
static final String[] | DEFAULTINDEXPAGES = {"index.html", "index.htm", "default.htm", "default.html"} | |||
static final DecimalFormat | lengthftm = new DecimalFormat("#") |