javax.servlet
Interface ServletRegistration

All Superinterfaces:
Registration
All Known Subinterfaces:
ServletRegistration.Dynamic

public interface ServletRegistration
extends Registration

Since:
Servlet 3.0 $Id: ServletRegistration.java 827435 2009-10-20 13:41:59Z markt $ TODO SERVLET3 - Add comments

Nested Class Summary
static interface ServletRegistration.Dynamic
           
 
Method Summary
 Set<String> addMapping(String... urlPatterns)
           
 Collection<String> getMappings()
           
 String getRunAsRole()
           
 
Methods inherited from interface javax.servlet.Registration
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
 

Method Detail

addMapping

Set<String> addMapping(String... urlPatterns)
Parameters:
urlPatterns -
Returns:
Throws:
IllegalArgumentException - if urlPattern is null or empty
IllegalStateException - if the associated ServletContext has already been initialised

getMappings

Collection<String> getMappings()

getRunAsRole

String getRunAsRole()

(Built by coreservlets)

As of July 2010, there were no online versions of the servlet 3.0, JSP 2.2, and EL 2.2 Javadocs, except as part of the huge Java EE 6 API. So, I built them myself from the Tomcat 7 source code.

Java EE TutorialsJava EE Training