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, setInitParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public DynamicServletRegistrationImpl(StandardWrapper wrapper, StandardContext ctx)
wrapper
- ctx
- public void setLoadOnStartup(int loadOnStartup)
setLoadOnStartup
in interface javax.servlet.ServletRegistration.Dynamic
public void setAsyncSupported(boolean isAsyncSupported)
setAsyncSupported
in interface javax.servlet.Registration.Dynamic
public Set<String> setServletSecurity(javax.servlet.ServletSecurityElement constraint)
setServletSecurity
in interface javax.servlet.ServletRegistration.Dynamic
public void setMultipartConfig(javax.servlet.MultipartConfigElement mpConfig)
setMultipartConfig
in interface javax.servlet.ServletRegistration.Dynamic
public void setRunAsRole(String roleName)
setRunAsRole
in interface javax.servlet.ServletRegistration.Dynamic
protected void setServletClassName(String className)
className
- protected void setServletClass(Class<? extends javax.servlet.Servlet> clazz)
clazz
- Copyright © 2020. All rights reserved.