| Modifier and Type | Class and Description |
|---|---|
| public static interface | Registration.
Interface through which a Servlet or Filter registered via one of the addServlet or addFilter methods, respectively, on ServletContext may be further configured. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the name of the implementation class for the Servlet.Obtain the name of the implementation class for the Servlet. |
| public String | Returns: The value of the named initialisation parameterThe initialisation parameter whose value is required name)Get the value of an initialisation parameter. |
| public Map | Returns: A Map of initialisation parameter names and associated values keyed by nameGet the names and values of all the initialisation parameters. |
| public String | |
| public boolean | Returns: true if the initialisation parameter was set, false if the initialisation
parameter was not set because an initialisation parameter of the same name already existedName of initialisation parameter name, String Value of initialisation parameter value)Add an initialisation parameter if not already added. |
| public Set | Returns: The set of initialisation parameter names that conflicted with existing initialisation parameter. If there are no conflicts, this Set will be empty.The initialisation parameters to add initParameters)Add multiple initialisation parameters. |
| getClassName | back to summary |
|---|---|
| public String getClassName() Obtain the name of the implementation class for the Servlet.
| |
| getInitParameter | back to summary |
|---|---|
| public String getInitParameter(String name) Get the value of an initialisation parameter. | |
| getInitParameters | back to summary |
|---|---|
| public Map Get the names and values of all the initialisation parameters. | |
| getName | back to summary |
|---|---|
| public String getName() Obtain the name of the Servlet.
| |
| setInitParameter | back to summary |
|---|---|
| public boolean setInitParameter(String name, String value) Add an initialisation parameter if not already added.
| |
| setInitParameters | back to summary |
|---|---|
| public Set Add multiple initialisation parameters. If any of the supplied initialisation parameter conflicts with an existing initialisation parameter, no updates will be performed.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | setAsyncSupported(boolean
Should this Servlet/Filter support asynchronous processing isAsyncSupported)Mark this Servlet/Filter as supported asynchronous processing. |
| setAsyncSupported | back to summary |
|---|---|
| public void setAsyncSupported(boolean isAsyncSupported) Mark this Servlet/Filter as supported asynchronous processing.
| |