public class FileServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
FileServlet() |
FileServlet(String throttles,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyStream(InputStream in,
OutputStream out,
long len) |
String |
getServletInfo() |
void |
log(String msg) |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprotected String charSet
public FileServlet()
public FileServlet(String throttles, String charset) throws IOException
IOExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletpublic void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic void copyStream(InputStream in, OutputStream out, long len) throws IOException
IOExceptionpublic void log(String msg)
log in class javax.servlet.GenericServletCopyright © 2013. All Rights Reserved.