Acme.Serve
Class FileServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
Acme.Serve.FileServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class FileServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
charSet
|
Method Summary |
void |
copyStream(java.io.InputStream in,
java.io.OutputStream out,
long len)
|
java.lang.String |
getServletInfo()
|
void |
log(java.lang.String msg)
|
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
charSet
protected java.lang.String charSet
FileServlet
public FileServlet()
FileServlet
public FileServlet(java.lang.String throttles,
java.lang.String charset)
throws java.io.IOException
- Throws:
java.io.IOException
getServletInfo
public java.lang.String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
- Overrides:
getServletInfo
in class javax.servlet.GenericServlet
service
public void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
copyStream
public void copyStream(java.io.InputStream in,
java.io.OutputStream out,
long len)
throws java.io.IOException
- Throws:
java.io.IOException
log
public void log(java.lang.String msg)
- Overrides:
log
in class javax.servlet.GenericServlet
Copyright © 2010. All Rights Reserved.