public static interface ServletRegistration.Dynamic extends ServletRegistration, Registration.Dynamic
ServletRegistration.Dynamic| Modifier and Type | Method and Description |
|---|---|
void |
setLoadOnStartup(int loadOnStartup)
Set the loadOnStartup order for the Servlet
|
void |
setMultipartConfig(MultipartConfigElement multipartConfig)
Set the multi-part configuration for the associated Servlet.
|
void |
setRunAsRole(java.lang.String roleName)
Set the name of the user / group under which the Servlet should be
configured to run.
|
java.util.Set<java.lang.String> |
setServletSecurity(ServletSecurityElement constraint)
Add security constraints to this Servlet.
|
addMapping, getMappings, getRunAsRolesetAsyncSupportedgetClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParametersvoid setLoadOnStartup(int loadOnStartup)
loadOnStartup - The position in the order the Servlet should be
started (higher numbers are started after lower
numbers)java.util.Set<java.lang.String> setServletSecurity(ServletSecurityElement constraint)
constraint - new security constraints for this Servletvoid setMultipartConfig(MultipartConfigElement multipartConfig)
null as the new
value.multipartConfig - The configuration to associate with the
Servletvoid setRunAsRole(java.lang.String roleName)
roleName - name of the user / group or null if noneCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.