public static interface ServletRegistration.Dynamic extends ServletRegistration, Registration.Dynamic
ServletRegistration.Dynamic
Modifier and Type | Method and Description |
---|---|
void |
setLoadOnStartup(int loadOnStartup)
Set the
loadOnStartup descriptor property. |
void |
setMultipartConfig(MultipartConfigElement multipartConfig)
Set the multipart config element to be applied to the mappings in
the registration.
|
void |
setRunAsRole(java.lang.String roleName)
Set the
runAsRole descriptor property. |
java.util.Set<java.lang.String> |
setServletSecurity(ServletSecurityElement element)
Set the servlet security element to be applied to the mappings in
the registration.
|
addMapping, getMappings, getRunAsRole
setAsyncSupported
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
void setLoadOnStartup(int loadOnStartup)
loadOnStartup
descriptor property.java.util.Set<java.lang.String> setServletSecurity(ServletSecurityElement element)
void setMultipartConfig(MultipartConfigElement multipartConfig)
void setRunAsRole(java.lang.String roleName)
runAsRole
descriptor property.