public class ServletRegistration extends Object
javax.servlet.ServletRegistration. But as the original is only available in Servlet 3.0 and
new we use or own.| Constructor and Description |
|---|
ServletRegistration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMapping(String mapping)
Add a mapping to this
ServletRegistration. |
void |
addMappings(Collection<String> mappings)
Add all given mappings to this
ServletRegistration. |
String |
getClassName()
Get the
Class name of this ServletRegistration. |
List<String> |
getMappings()
Get the mappings for this
ServletRegistration. |
void |
setClassName(String className)
Set the
Class name of this ServletRegistration. |
public String getClassName()
Class name of this ServletRegistration.public void setClassName(String className)
Class name of this ServletRegistration.public List<String> getMappings()
ServletRegistration.public void addMapping(String mapping)
ServletRegistration.public void addMappings(Collection<String> mappings)
ServletRegistration.Copyright © 2014 OCPsoft. All Rights Reserved.