Uses of Interface
jakarta.servlet.ServletRegistration
Package
Description
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of ServletRegistration in jakarta.servlet
Modifier and TypeInterfaceDescriptionstatic interface
Interface through which aServlet
registered via one of the addServlet methods onServletContext
may be further configured.Modifier and TypeMethodDescriptionServletContext.getServletRegistration
(String servletName) Gets the ServletRegistration corresponding to the servlet with the given servletName.Modifier and TypeMethodDescriptionMap<String,
? extends ServletRegistration> ServletContext.getServletRegistrations()
Gets a (possibly empty) Map of the ServletRegistration objects (keyed by servlet name) corresponding to all servlets registered with this ServletContext.