Class DownloadServlet

All Implemented Interfaces:
Serializable, Servlet, ServletConfig
Direct Known Subclasses:
AttachmentServlet, ImageServlet

abstract class DownloadServlet extends BasicAuthServlet
A servlet to download attachment data.
Since:
7.3
Version:
10.6
Author:
Luke
  • Constructor Details

    • DownloadServlet

      DownloadServlet()
  • Method Details

    • getFileType

      protected static FileType getFileType(URLParser up, FileType[] values)
      A helper method to get the file type from the URL.
      Parameters:
      up - the URLParser
      values - the possible types
      Returns:
      a FileType, or null if unknown