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, service
protected String charSet
public FileServlet()
public FileServlet(String throttles, String charset) throws IOException
IOException
public String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void copyStream(InputStream in, OutputStream out, long len) throws IOException
IOException
public void log(String msg)
log
in class javax.servlet.GenericServlet
Copyright © 2013. All Rights Reserved.