Package | Description |
---|---|
jakarta.servlet |
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.
|
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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.