Class DownloadServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.deltava.servlet.GenericServlet
org.deltava.servlet.BasicAuthServlet
org.deltava.servlet.DownloadServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
- Direct Known Subclasses:
AttachmentServlet
,ImageServlet
A servlet to download attachment data.
- Since:
- 7.3
- Version:
- 10.6
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.servlet.GenericServlet
GenericServlet.ForbiddenException, GenericServlet.NotFoundException, GenericServlet.ServletSecurityContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static FileType
getFileType
(URLParser up, FileType[] values) A helper method to get the file type from the URL.Methods inherited from class org.deltava.servlet.BasicAuthServlet
authenticate, challenge
Methods inherited from class org.deltava.servlet.GenericServlet
getURL
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
DownloadServlet
DownloadServlet()
-
-
Method Details
-
getFileType
-