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 ServletRegistrationModifier and TypeFieldDescriptionprotected final Map<String,ServletRegistration> WebappContext.servletRegistrationsMethods in org.glassfish.grizzly.servlet that return ServletRegistrationModifier and TypeMethodDescriptionWebappContext.addServlet(String servletName, Class<? extends javax.servlet.Servlet> servletClass) Adds the servlet with the given name and class type to this servlet context.WebappContext.addServlet(String servletName, String className) Adds the servlet with the given name and class name to this servlet context.WebappContext.addServlet(String servletName, javax.servlet.Servlet servlet) Registers the given servlet instance with this WebappContext under the given servletName.WebappContext.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 ServletRegistrationModifier and TypeMethodDescriptionMap<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 ServletRegistrationModifier and TypeMethodDescriptionintServletRegistration.compareTo(ServletRegistration o) protected javax.servlet.ServletWebappContext.createServletInstance(ServletRegistration registration) Instantiates the given Servlet class.