Package | Description |
---|---|
org.glassfish.grizzly.servlet |
Modifier and Type | Field and Description |
---|---|
protected Map<String,ServletRegistration> |
WebappContext.servletRegistrations |
Modifier and Type | Method and Description |
---|---|
ServletRegistration |
WebappContext.addServlet(String servletName,
Class<? extends javax.servlet.Servlet> servletClass)
Adds the servlet with the given name and class type to this servlet
context.
|
ServletRegistration |
WebappContext.addServlet(String servletName,
javax.servlet.Servlet servlet)
Registers the given servlet instance with this WebappContext
under the given servletName.
|
ServletRegistration |
WebappContext.addServlet(String servletName,
String className)
Adds the servlet with the given name and class name to this servlet
context.
|
ServletRegistration |
WebappContext.getServletRegistration(String name)
Gets the ServletRegistration corresponding to the servlet with the
given servletName.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
ServletRegistration.compareTo(ServletRegistration o) |
protected javax.servlet.Servlet |
WebappContext.createServletInstance(ServletRegistration registration)
Instantiates the given Servlet class.
|
Copyright © 2015 Oracle Corporation. All rights reserved.