ServletConfig implementation.
| Modifier and Type | Field and Description |
|---|---|
| protected final ConcurrentMap | |
| protected String | |
| protected final WebappContext |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | getInitParameter(String name)
Implements jakarta. Gets the value of the initialization parameter with the given name. |
| public Enumeration | getInitParameterNames()
Implements jakarta. Returns the names of the servlet's initialization parameters as an |
| public ServletContext | getServletContext()
Implements jakarta. Returns a reference to the |
| public String | getServletName()
Implements jakarta. Returns the name of this servlet instance. |
| protected void | |
| public void |
| initParameters | back to summary |
|---|---|
| protected final ConcurrentMap<String, String> initParameters | |
| name | back to summary |
|---|---|
| protected String name | |
| servletContextImpl | back to summary |
|---|---|
| protected final WebappContext servletContextImpl | |
| ServletConfigImpl | back to summary |
|---|---|
| protected ServletConfigImpl(WebappContext servletContextImpl) | |
| getInitParameter | back to summary |
|---|---|
| public String getInitParameter(String name) Implements jakarta. Doc from jakarta. Gets the value of the initialization parameter with the given name.
| |
| getInitParameterNames | back to summary |
|---|---|
| public Enumeration Implements jakarta. Doc from jakarta. Returns the names of the servlet's initialization parameters as an
| |
| getServletContext | back to summary |
|---|---|
| public ServletContext getServletContext() Implements jakarta. Doc from jakarta. Returns a reference to the
| |
| getServletName | back to summary |
|---|---|
| public String getServletName() Implements jakarta. Doc from jakarta. Returns the name of this servlet instance. The name may be provided via server administration, assigned in the web application deployment descriptor, or for an unregistered (and thus unnamed) servlet instance it will be the servlet's class name.
| |
| setInitParameters | back to summary |
|---|---|
| protected void setInitParameters(Map<String, String> parameters) | |
| setServletName | back to summary |
|---|---|
| public void setServletName(String name) Set the name of this servlet.
| |