public interface Registration
Modifier and Type | Interface and Description |
---|---|
static interface |
Registration.Dynamic
Dynamic registration support.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Returns the class name of the servlet or filter.
|
java.lang.String |
getInitParameter(java.lang.String name)
Returns the specified initialization parameter.
|
java.util.Map<java.lang.String,java.lang.String> |
getInitParameters()
Returns the initialization parameters set for this registration.
|
java.lang.String |
getName()
Returns the servlet or filter name.
|
boolean |
setInitParameter(java.lang.String name,
java.lang.String value)
Sets the specified initialization parameter.
|
java.util.Set<java.lang.String> |
setInitParameters(java.util.Map<java.lang.String,java.lang.String> params)
Bulk set operation.
|
java.lang.String getName()
java.lang.String getClassName()
boolean setInitParameter(java.lang.String name, java.lang.String value)
java.lang.IllegalArgumentException
- if name or value is nulljava.lang.IllegalStateException
- if the context is already
initializedjava.lang.String getInitParameter(java.lang.String name)
java.util.Set<java.lang.String> setInitParameters(java.util.Map<java.lang.String,java.lang.String> params)
java.lang.IllegalArgumentException
- if any name or value is nulljava.lang.IllegalStateException
- if the context is already
initializedjava.util.Map<java.lang.String,java.lang.String> getInitParameters()