public class DynamicServletRegistrationImpl extends ServletRegistrationImpl implements javax.servlet.ServletRegistration.Dynamic
ctx, wrapper| Constructor and Description |
|---|
DynamicServletRegistrationImpl(StandardWrapper wrapper,
StandardContext ctx)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAsyncSupported(boolean isAsyncSupported) |
void |
setLoadOnStartup(int loadOnStartup) |
void |
setMultipartConfig(javax.servlet.MultipartConfigElement mpConfig) |
void |
setRunAsRole(String roleName) |
protected void |
setServletClass(Class<? extends javax.servlet.Servlet> clazz)
Sets the class object from which this servlet will be instantiated.
|
protected void |
setServletClassName(String className)
Sets the fully qualified class name to be used
|
Set<String> |
setServletSecurity(javax.servlet.ServletSecurityElement constraint) |
addMapping, getClassName, getContext, getInitParameter, getInitParameters, getJspFile, getMappings, getName, getRunAsRole, getWrapper, setInitParameter, setInitParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic DynamicServletRegistrationImpl(StandardWrapper wrapper, StandardContext ctx)
wrapper - ctx - public void setLoadOnStartup(int loadOnStartup)
setLoadOnStartup in interface javax.servlet.ServletRegistration.Dynamicpublic void setAsyncSupported(boolean isAsyncSupported)
setAsyncSupported in interface javax.servlet.Registration.Dynamicpublic Set<String> setServletSecurity(javax.servlet.ServletSecurityElement constraint)
setServletSecurity in interface javax.servlet.ServletRegistration.Dynamicpublic void setMultipartConfig(javax.servlet.MultipartConfigElement mpConfig)
setMultipartConfig in interface javax.servlet.ServletRegistration.Dynamicpublic void setRunAsRole(String roleName)
setRunAsRole in interface javax.servlet.ServletRegistration.Dynamicprotected void setServletClassName(String className)
className - protected void setServletClass(Class<? extends javax.servlet.Servlet> clazz)
clazz - Copyright © 2019. All rights reserved.