Package | Description |
---|---|
javax.servlet |
The javax.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.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ServletRegistration.Dynamic
Interface through which a
Servlet registered via one of the
addServlet methods on ServletContext may be further
configured. |
Modifier and Type | Method and Description |
---|---|
ServletRegistration |
ServletContext.getServletRegistration(String servletName)
Gets the ServletRegistration corresponding to the servlet with the
given servletName.
|
Modifier and Type | Method and Description |
---|---|
Map<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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.