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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

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

    • StaticContentServlet

      public StaticContentServlet()
  • Method Details

    • getEncodedPathInContext

      protected String getEncodedPathInContext(jakarta.servlet.http.HttpServletRequest request, boolean included)
      Overrides:
      getEncodedPathInContext in class org.eclipse.jetty.ee10.servlet.ResourceServlet