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
- Version:
- 2.0
- Author:
- nicklas
- See Also:
- Last modified
- $Date$
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(HttpServletRequest request, HttpServletResponse response) void
doPost
(HttpServletRequest request, HttpServletResponse response) void
init()
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
findId
-
findRange
-
defaultMimeType
-
forceMimeType
-
download
private boolean download -
usePathInfo
private boolean usePathInfo
-
-
Constructor Details
-
Download
public Download()
-
-
Method Details
-
init
- Overrides:
init
in classGenericServlet
- Throws:
ServletException
-
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException - Overrides:
doGet
in classHttpServlet
- Throws:
IOException
ServletException
-
doPost
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException - Overrides:
doPost
in classHttpServlet
- Throws:
IOException
ServletException
-