public class ApplicationServletRegistration extends java.lang.Object implements ServletRegistration.Dynamic
ServletRegistration.Dynamic
Constructor and Description |
---|
ApplicationServletRegistration(Wrapper wrapper,
Context context) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
addMapping(java.lang.String... urlPatterns)
TODO
|
java.lang.String |
getClassName() |
java.lang.String |
getInitParameter(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String> |
getInitParameters() |
java.util.Collection<java.lang.String> |
getMappings() |
java.lang.String |
getName() |
java.lang.String |
getRunAsRole() |
void |
setAsyncSupported(boolean asyncSupported) |
boolean |
setInitParameter(java.lang.String name,
java.lang.String value) |
java.util.Set<java.lang.String> |
setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters) |
void |
setLoadOnStartup(int loadOnStartup) |
void |
setMultipartConfig(MultipartConfigElement multipartConfig) |
void |
setRunAsRole(java.lang.String roleName) |
java.util.Set<java.lang.String> |
setServletSecurity(ServletSecurityElement constraint) |
public java.lang.String getClassName()
getClassName
in interface Registration
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter
in interface Registration
public java.util.Map<java.lang.String,java.lang.String> getInitParameters()
getInitParameters
in interface Registration
public java.lang.String getName()
getName
in interface Registration
public boolean setInitParameter(java.lang.String name, java.lang.String value)
setInitParameter
in interface Registration
public java.util.Set<java.lang.String> setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters)
setInitParameters
in interface Registration
public void setAsyncSupported(boolean asyncSupported)
setAsyncSupported
in interface Registration.Dynamic
public void setLoadOnStartup(int loadOnStartup)
setLoadOnStartup
in interface ServletRegistration.Dynamic
public void setMultipartConfig(MultipartConfigElement multipartConfig)
setMultipartConfig
in interface ServletRegistration.Dynamic
public void setRunAsRole(java.lang.String roleName)
setRunAsRole
in interface ServletRegistration.Dynamic
public java.util.Set<java.lang.String> setServletSecurity(ServletSecurityElement constraint)
setServletSecurity
in interface ServletRegistration.Dynamic
public java.util.Set<java.lang.String> addMapping(java.lang.String... urlPatterns)
javax.servlet.ServletRegistration
addMapping
in interface ServletRegistration
urlPatterns
- The URL patterns that this Servlet should be mapped topublic java.util.Collection<java.lang.String> getMappings()
getMappings
in interface ServletRegistration
public java.lang.String getRunAsRole()
getRunAsRole
in interface ServletRegistration
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.