public abstract class AbstractEmbeddedServletContainerFactory extends AbstractConfigurableEmbeddedServletContainer implements EmbeddedServletContainerFactory
EmbeddedServletContainerFactory
implementations.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AbstractEmbeddedServletContainerFactory() |
AbstractEmbeddedServletContainerFactory(int port) |
AbstractEmbeddedServletContainerFactory(String contextPath,
int port) |
Modifier and Type | Method and Description |
---|---|
protected File |
createTempDir(String prefix)
Returns the absolute temp dir for given servlet container.
|
protected String |
getDecodedFile(URL url)
Deprecated.
Since 1.5.13 in favor of
File.File(java.net.URI) |
protected List<URL> |
getUrlsOfJarsWithMetaInfResources() |
protected File |
getValidDocumentRoot()
Returns the absolute document root when it points to a valid directory, logging a
warning and returning
null otherwise. |
protected File |
getValidSessionStoreDir() |
protected File |
getValidSessionStoreDir(boolean mkdirs) |
addErrorPages, addInitializers, getAddress, getCompression, getContextPath, getDisplayName, getDocumentRoot, getErrorPages, getJspServlet, getLocaleCharsetMappings, getMimeMappings, getPort, getServerHeader, getSessionStoreDir, getSessionTimeout, getSsl, getSslStoreProvider, isPersistSession, isRegisterDefaultServlet, mergeInitializers, setAddress, setCompression, setContextPath, setDisplayName, setDocumentRoot, setErrorPages, setInitializers, setJspServlet, setLocaleCharsetMappings, setMimeMappings, setPersistSession, setPort, setRegisterDefaultServlet, setServerHeader, setSessionStoreDir, setSessionTimeout, setSessionTimeout, setSsl, setSslStoreProvider, shouldRegisterJspServlet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEmbeddedServletContainer
public AbstractEmbeddedServletContainerFactory()
public AbstractEmbeddedServletContainerFactory(int port)
public AbstractEmbeddedServletContainerFactory(String contextPath, int port)
protected final File getValidDocumentRoot()
null
otherwise.@Deprecated protected final String getDecodedFile(URL url)
File.File(java.net.URI)
url
into a decoded file path.url
- the url to convertprotected final File getValidSessionStoreDir()
protected final File getValidSessionStoreDir(boolean mkdirs)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.