Class ServletHandler.MappedServlet

java.lang.Object
org.eclipse.jetty.ee10.servlet.ServletHandler.MappedServlet
Enclosing class:
ServletHandler

public static class ServletHandler.MappedServlet extends Object
A mapping of a servlet by pathSpec or by name
  • Method Details

    • getPathSpec

      public org.eclipse.jetty.http.pathmap.PathSpec getPathSpec()
    • getServletHolder

      public ServletHolder getServletHolder()
    • getServletPathMapping

      public ServletPathMapping getServletPathMapping(String pathInContext)
    • getServletPathMapping

      public ServletPathMapping getServletPathMapping(String pathInContext, org.eclipse.jetty.http.pathmap.MatchedPath matchedPath)
    • handle

      public void handle(ServletHandler servletHandler, String pathInContext, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • toString

      public String toString()
      Overrides:
      toString in class Object