javax.servlet
Interface ServletRegistration
- All Superinterfaces:
- Registration
- All Known Subinterfaces:
- ServletRegistration.Dynamic
public interface ServletRegistration
- extends Registration
- Since:
- Servlet 3.0
$Id: ServletRegistration.java 981816 2010-08-03 10:44:58Z markt $
TODO SERVLET3 - Add comments
Method Summary |
java.util.Set<java.lang.String> |
addMapping(java.lang.String... urlPatterns)
|
java.util.Collection<java.lang.String> |
getMappings()
|
java.lang.String |
getRunAsRole()
|
addMapping
java.util.Set<java.lang.String> addMapping(java.lang.String... urlPatterns)
- Parameters:
urlPatterns
-
- Returns:
- TODO
- Throws:
java.lang.IllegalArgumentException
- if urlPattern is null or empty
java.lang.IllegalStateException
- if the associated ServletContext has
already been initialised
getMappings
java.util.Collection<java.lang.String> getMappings()
getRunAsRole
java.lang.String getRunAsRole()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.