Registration
, Registration.Dynamic
, ServletRegistration
DefaultServletEnvironment
public static interface ServletRegistration.Dynamic extends ServletRegistration, Registration.Dynamic
ServletRegistration.Dynamic
Modifier and Type | Method | Description |
---|---|---|
void |
setLoadOnStartup(int loadOnStartup) |
Set the load on startup.
|
void |
setMultipartConfig(MultipartConfigElement multipartConfig) |
Set the multipart config element.
|
void |
setRunAsRole(String role) |
Set the run as role.
|
Set<String> |
setServletSecurity(ServletSecurityElement constraint) |
Set the servlet security.
|
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
setAsyncSupported
addMapping, getMappings, getRunAsRole
void setLoadOnStartup(int loadOnStartup)
loadOnStartup
- the load on startup.Set<String> setServletSecurity(ServletSecurityElement constraint)
constraint
- the constraint.void setMultipartConfig(MultipartConfigElement multipartConfig)
multipartConfig
- the multipart config element.void setRunAsRole(String role)
role
- the role.Copyright © 2020 Piranha Cloud. All rights reserved.