Constructor and Description |
---|
ServletInfo(String name, Class<? extends javax.servlet.Servlet> servletClass) |
ServletInfo(String name, Class<? extends javax.servlet.Servlet> servletClass, InstanceFactory<? extends javax.servlet.Servlet> instanceFactory) |
public ServletInfo(String name, Class<? extends javax.servlet.Servlet> servletClass, InstanceFactory<? extends javax.servlet.Servlet> instanceFactory)
public void validate()
public ServletInfo clone()
public Class<? extends javax.servlet.Servlet> getServletClass()
public String getName()
public void setInstanceFactory(InstanceFactory<? extends javax.servlet.Servlet> instanceFactory)
public InstanceFactory<? extends javax.servlet.Servlet> getInstanceFactory()
public ServletInfo addMapping(String mapping)
public ServletInfo addMappings(Collection<String> mappings)
public ServletInfo addMappings(String... mappings)
public ServletInfo addInitParam(String name, String value)
public String getJspFile()
public ServletInfo setJspFile(String jspFile)
public Integer getLoadOnStartup()
public ServletInfo setLoadOnStartup(Integer loadOnStartup)
public boolean isAsyncSupported()
public ServletInfo setAsyncSupported(boolean asyncSupported)
public boolean isEnabled()
public ServletInfo setEnabled(boolean enabled)
public String getRunAs()
public ServletInfo setRunAs(String runAs)
public javax.servlet.MultipartConfigElement getMultipartConfig()
public ServletInfo setMultipartConfig(javax.servlet.MultipartConfigElement multipartConfig)
public List<SecurityRoleRef> getSecurityRoleRefs()
public ServletInfo addHandlerChainWrapper(HandlerWrapper wrapper)
public List<HandlerWrapper> getHandlerChainWrappers()
public ServletSecurityInfo getServletSecurityInfo()
public ServletInfo setServletSecurityInfo(ServletSecurityInfo servletSecurityInfo)
public Executor getExecutor()
public ServletInfo setExecutor(Executor executor)
public boolean isRequireWelcomeFileMapping()
public ServletInfo setRequireWelcomeFileMapping(boolean requireWelcomeFileMapping)
Copyright © 2017 JBoss by Red Hat. All rights reserved.