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

        @Deprecated
        protected final String getDecodedFile(URL url)
        Deprecated. Since 1.5.13 in favor of File.File(java.net.URI)
        Converts the given url into a decoded file path.
        Parameters:
        url - the url to convert
        Returns:
        the file path
      • 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 © 2019 Pivotal Software, Inc.. All rights reserved.