Package org.openremote.manager.web
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
FieldsFields inherited from class org.openremote.container.web.file.FileServlet
alreadyZippedExtensions, DEFAULT_EXPIRE_SECONDS, devMode, EXPIRES_SECONDS_CACHE_JS, mimeTypes, mimeTypesExpireSeconds, requiredRoles, resourceManagerFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
ConstructorsConstructorDescriptionManagerFileServlet(boolean devMode, io.undertow.server.handlers.resource.ResourceManager resourceManager, String[] requiredRoles) -
Method Summary
Modifier and TypeMethodDescriptionstatic io.undertow.servlet.api.DeploymentInfocreateDeploymentInfo(boolean devMode, String contextPath, io.undertow.server.handlers.resource.ResourceManager resourceManager, String[] requiredRoles) static io.undertow.server.HttpHandlerwrapHandler(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, setContentHeadersMethods inherited from class org.openremote.container.web.file.AbstractFileServlet
coalesce, doGet, doHead, handleFileNotFound, setCacheHeaders, setNoCacheHeaders, stream, streamMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doOptions, doPost, doPut, doTrace, getLastModified, init, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
MIME_TYPES
-
FILE_EXTENSIONS_ALREADY_ZIPPED
-
MIME_TYPES_EXPIRE_SECONDS
-
MIME_TYPES_TO_ZIP
-
-
Constructor Details
-
ManagerFileServlet
public ManagerFileServlet(boolean devMode, io.undertow.server.handlers.resource.ResourceManager resourceManager, String[] requiredRoles)
-
-
Method Details
-
createDeploymentInfo
-
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.
-