public interface ServletRegistration extends Registration
Modifier and Type | Interface and Description |
---|---|
static interface |
ServletRegistration.Dynamic |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
addMapping(java.lang.String... urlPatterns)
TODO
|
java.util.Collection<java.lang.String> |
getMappings() |
java.lang.String |
getRunAsRole() |
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
java.util.Set<java.lang.String> addMapping(java.lang.String... urlPatterns)
urlPatterns
- The URL patterns that this Servlet should be mapped tojava.lang.IllegalArgumentException
- if urlPattern is null or emptyjava.lang.IllegalStateException
- if the associated ServletContext has
already been initialisedjava.util.Collection<java.lang.String> getMappings()
java.lang.String getRunAsRole()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.