Package dev.getelements.elements.jetty
Class StaticContentServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.eclipse.jetty.ee10.servlet.ResourceServlet
dev.getelements.elements.jetty.StaticContentServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- Direct Known Subclasses:
WebUIAngularServlet
public class StaticContentServlet
extends org.eclipse.jetty.ee10.servlet.ResourceServlet
Works around an issue in the base
ResourceServlet
which seems to be incompatible with Guice.- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getEncodedPathInContext
(jakarta.servlet.http.HttpServletRequest request, boolean included) Methods inherited from class org.eclipse.jetty.ee10.servlet.ResourceServlet
doGet, doHead, doNotFound, doOptions, doTrace, getResourceService, init, initContextHandler
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doPatch, doPost, doPut, getLastModified, init, isSensitiveHeader, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
StaticContentServlet
public StaticContentServlet()
-
-
Method Details
-
getEncodedPathInContext
protected String getEncodedPathInContext(jakarta.servlet.http.HttpServletRequest request, boolean included) - Overrides:
getEncodedPathInContext
in classorg.eclipse.jetty.ee10.servlet.ResourceServlet
-