Class Upload
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.sf.basedb.clients.web.servlet.Upload
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
public final class Upload extends HttpServlet
The upload servlet is used to handle single file uploads. It has support
for on-the-fly unpacking of compressed archives.
- Since:
- 2.16
- Author:
- nicklas
- See Also:
- Serialized Form
- Last modified
- $Date: 2021-07-01 12:54:20 +0200 (Thu, 01 Jul 2021) $
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description Upload()
-
Method Summary
Modifier and Type Method Description protected void
doGet(HttpServletRequest request, HttpServletResponse response)
void
doPost(HttpServletRequest request, HttpServletResponse response)
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, init, log, log
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
-
Constructor Details
-
Upload
public Upload()
-
-
Method Details
-
doPost
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException- Overrides:
doPost
in classHttpServlet
- Throws:
IOException
ServletException
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException- Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-