Package javax.servlet
Interface ServletRegistration.Dynamic
-
- All Superinterfaces:
Registration
,Registration.Dynamic
,ServletRegistration
- All Known Implementing Classes:
ServletHolder.Registration
- Enclosing interface:
- ServletRegistration
public static interface ServletRegistration.Dynamic extends ServletRegistration, Registration.Dynamic
Interface through which a Servlet registered via one of the addServlet methods on ServletContext may be further configured.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.servlet.Registration
Registration.Dynamic
-
Nested classes/interfaces inherited from interface javax.servlet.ServletRegistration
ServletRegistration.Dynamic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setLoadOnStartup(int loadOnStartup)
void
setMultipartConfig(MultipartConfigElement multipartConfig)
void
setRunAsRole(java.lang.String roleName)
java.util.Set<java.lang.String>
setServletSecurity(ServletSecurityElement constraint)
-
Methods inherited from interface javax.servlet.Registration
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
-
Methods inherited from interface javax.servlet.Registration.Dynamic
setAsyncSupported
-
Methods inherited from interface javax.servlet.ServletRegistration
addMapping, getMappings, getRunAsRole
-
-
-
-
Method Detail
-
setLoadOnStartup
void setLoadOnStartup(int loadOnStartup)
-
setServletSecurity
java.util.Set<java.lang.String> setServletSecurity(ServletSecurityElement constraint)
-
setMultipartConfig
void setMultipartConfig(MultipartConfigElement multipartConfig)
-
setRunAsRole
void setRunAsRole(java.lang.String roleName)
-
-