org.springframework.boot.context.embedded

Class AbstractEmbeddedServletContainerFactory

    • Field Detail

      • logger

        protected final org.apache.commons.logging.Log logger
    • Constructor Detail

      • AbstractEmbeddedServletContainerFactory

        public AbstractEmbeddedServletContainerFactory()
      • AbstractEmbeddedServletContainerFactory

        public AbstractEmbeddedServletContainerFactory(int port)
      • AbstractEmbeddedServletContainerFactory

        public AbstractEmbeddedServletContainerFactory(String contextPath,
                                                       int port)
    • Method Detail

      • getValidDocumentRoot

        protected final File getValidDocumentRoot()
        Returns the absolute document root when it points to a valid directory, logging a warning and returning null otherwise.
        Returns:
        the valid document root
      • getUrlsOfJarsWithMetaInfResources

        protected List<URL> getUrlsOfJarsWithMetaInfResources()
      • getDecodedFile

        protected final String getDecodedFile(URL url)
      • getValidSessionStoreDir

        protected final File getValidSessionStoreDir()
      • getValidSessionStoreDir

        protected final File getValidSessionStoreDir(boolean mkdirs)
      • createTempDir

        protected File createTempDir(String prefix)
        Returns the absolute temp dir for given servlet container.
        Parameters:
        prefix - servlet container name
        Returns:
        The temp dir for given servlet container.

Copyright © 2018 Pivotal Software, Inc.. All rights reserved.