Class ManagerFileServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.openremote.container.web.file.AbstractFileServlet
org.openremote.container.web.file.FileServlet
org.openremote.manager.web.ManagerFileServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class ManagerFileServlet extends org.openremote.container.web.file.FileServlet
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.openremote.container.web.file.AbstractFileServlet

    org.openremote.container.web.file.AbstractFileServlet.Range, org.openremote.container.web.file.AbstractFileServlet.RedirectException
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String[]
     
    static final Map<String,String>
     
    static final Map<String,Integer>
     
    static final String[]
     

    Fields inherited from class org.openremote.container.web.file.FileServlet

    alreadyZippedExtensions, DEFAULT_EXPIRE_SECONDS, devMode, EXPIRES_SECONDS_CACHE_JS, mimeTypes, mimeTypesExpireSeconds, requiredRoles, resourceManager

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
    ManagerFileServlet(boolean devMode, io.undertow.server.handlers.resource.ResourceManager resourceManager, String[] requiredRoles)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.undertow.servlet.api.DeploymentInfo
    createDeploymentInfo(boolean devMode, String contextPath, io.undertow.server.handlers.resource.ResourceManager resourceManager, String[] requiredRoles)
     
    static io.undertow.server.HttpHandler
    wrapHandler(io.undertow.server.HttpHandler wrapped, Pattern requestPattern)
    This handler corrects the request path, using the matching group 1 of the pattern as the request path.

    Methods inherited from class org.openremote.container.web.file.FileServlet

    getContentType, getExpireTime, getExtension, getResource, isSecured, service, setContentHeaders

    Methods inherited from class org.openremote.container.web.file.AbstractFileServlet

    coalesce, doGet, doHead, handleFileNotFound, setCacheHeaders, setNoCacheHeaders, stream, stream

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doOptions, doPost, doPut, doTrace, getLastModified, init, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MIME_TYPES

      public static final Map<String,String> MIME_TYPES
    • FILE_EXTENSIONS_ALREADY_ZIPPED

      public static final String[] FILE_EXTENSIONS_ALREADY_ZIPPED
    • MIME_TYPES_EXPIRE_SECONDS

      public static final Map<String,Integer> MIME_TYPES_EXPIRE_SECONDS
    • MIME_TYPES_TO_ZIP

      public static final String[] MIME_TYPES_TO_ZIP
  • Constructor Details

    • ManagerFileServlet

      public ManagerFileServlet(boolean devMode, io.undertow.server.handlers.resource.ResourceManager resourceManager, String[] requiredRoles)
  • Method Details

    • createDeploymentInfo

      public static io.undertow.servlet.api.DeploymentInfo createDeploymentInfo(boolean devMode, String contextPath, io.undertow.server.handlers.resource.ResourceManager resourceManager, String[] requiredRoles)
    • wrapHandler

      public static io.undertow.server.HttpHandler wrapHandler(io.undertow.server.HttpHandler wrapped, Pattern requestPattern)
      This handler corrects the request path, using the matching group 1 of the pattern as the request path.