Uses of Class
org.glassfish.grizzly.servlet.ServletRegistration
-
-
Uses of ServletRegistration in org.glassfish.grizzly.servlet
Fields in org.glassfish.grizzly.servlet with type parameters of type ServletRegistration Modifier and Type Field Description protected Map<String,ServletRegistration>WebappContext. servletRegistrationsMethods in org.glassfish.grizzly.servlet that return ServletRegistration Modifier and Type Method Description ServletRegistrationWebappContext. addServlet(String servletName, jakarta.servlet.Servlet servlet)Registers the given servlet instance with this WebappContext under the given servletName.ServletRegistrationWebappContext. addServlet(String servletName, Class<? extends jakarta.servlet.Servlet> servletClass)Adds the servlet with the given name and class type to this servlet context.ServletRegistrationWebappContext. addServlet(String servletName, String className)Adds the servlet with the given name and class name to this servlet context.ServletRegistrationWebappContext. getServletRegistration(String name)Gets the ServletRegistration corresponding to the servlet with the given servletName.Methods in org.glassfish.grizzly.servlet that return types with arguments of type ServletRegistration Modifier and Type Method Description Map<String,? extends ServletRegistration>WebappContext. getServletRegistrations()Gets a (possibly empty) Map of the ServletRegistration objects (keyed by servlet name) corresponding to all servlets registered with this WebappContext.Methods in org.glassfish.grizzly.servlet with parameters of type ServletRegistration Modifier and Type Method Description intServletRegistration. compareTo(ServletRegistration o)protected jakarta.servlet.ServletWebappContext. createServletInstance(ServletRegistration registration)Instantiates the given Servlet class.
-