net.sf.basedb.clients.web.servlet
Class Download
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.sf.basedb.clients.web.servlet.Download
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public final class Download
- extends HttpServlet
- Version:
- 2.0
- Author:
- nicklas
- See Also:
- Serialized Form
- Last modified
- $Date$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
findId
private static final Pattern findId
defaultMimeType
private String defaultMimeType
forceMimeType
private String forceMimeType
download
private boolean download
usePathInfo
private boolean usePathInfo
Download
public Download()
init
public void init()
throws ServletException
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Overrides:
doGet
in class HttpServlet
- Throws:
IOException
ServletException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Overrides:
doPost
in class HttpServlet
- Throws:
IOException
ServletException