| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getInitParameter(String
the name of the initialization parameter whose value to get 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. |
| public void |
| parameters | back to summary |
|---|---|
| private final Map<String, String> parameters | |
| MockServletConfig | back to summary |
|---|---|
| public MockServletConfig() | |
| 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. | |
| setInitParameter | back to summary |
|---|---|
| public void setInitParameter(String name, String value) Set init parameter. | |