Uses of Class
org.eclipse.jetty.ee10.servlet.ServletHolder
-
Uses of ServletHolder in org.eclipse.jetty.ee10.servlet
Modifier and TypeMethodDescriptionServletContextHandler.addServlet
(jakarta.servlet.http.HttpServlet servlet, String pathSpec) Convenience method to add a servlet.ServletContextHandler.addServlet
(Class<? extends jakarta.servlet.Servlet> servlet, String pathSpec) Convenience method to add a servlet.ServletContextHandler.addServlet
(String className, String pathSpec) Convenience method to add a servlet.ServletTester.addServlet
(Class<? extends jakarta.servlet.Servlet> servlet, String pathSpec) ServletTester.addServlet
(String className, String pathSpec) ServletHandler.addServletWithMapping
(Class<? extends jakarta.servlet.Servlet> servlet, String pathSpec) Convenience method to add a servlet.ServletHandler.addServletWithMapping
(String className, String pathSpec) Convenience method to add a servlet.ServletHandler.getServlet
(String name) ServletHandler.MappedServlet.getServletHolder()
ServletHandler.getServlets()
ServletHandler.newServletHolder
(Source source) Add a new servlet holderModifier and TypeMethodDescriptionvoid
ServletContextHandler.addServlet
(ServletHolder servlet, String pathSpec) Convenience method to add a servlet.void
ServletHandler.addServlet
(ServletHolder holder) Convenience method to add a pre-constructed ServletHolder.void
ServletTester.addServlet
(ServletHolder servlet, String pathSpec) void
ServletHandler.addServletWithMapping
(ServletHolder servlet, String pathSpec) Convenience method to add a servlet.int
ServletHolder.compareTo
(ServletHolder sh) Comparator by init order.protected boolean
ServletHandler.containsServletHolder
(ServletHolder holder) protected jakarta.servlet.ServletRegistration.Dynamic
ServletContextHandler.dynamicHolderAdded
(ServletHolder holder) notification that a ServletRegistration has been created so we can track the annotationsprotected jakarta.servlet.FilterChain
ServletHandler.getFilterChain
(jakarta.servlet.http.HttpServletRequest request, String pathInContext, ServletHolder servletHolder) void
ServletHandler.setServlets
(ServletHolder[] holders) Set Servlets.