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