public interface ServletRegistration extends Registration
Modifier and Type | Interface and Description |
---|---|
static interface |
ServletRegistration.Dynamic
Dynamic support.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
addMapping(java.lang.String... urlPatterns)
Add a servlet mapping with the given URL patterns.
|
java.util.Collection<java.lang.String> |
getMappings()
Returns the mappings for the servlet.
|
java.lang.String |
getRunAsRole()
Returns the
runAsRole descriptor property. |
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
java.util.Set<java.lang.String> addMapping(java.lang.String... urlPatterns)
java.lang.IllegalStateException
- if the context is already
initializedjava.util.Collection<java.lang.String> getMappings()
java.lang.String getRunAsRole()
runAsRole
descriptor property.