クラス DocumentRoot

java.lang.ObjectSE
org.springframework.boot.web.server.servlet.DocumentRoot

public class DocumentRoot extends ObjectSE
ServletWebServerFactory ドキュメントルートを管理します。
導入:
4.0.0
作成者:
Phillip Webb
  • コンストラクターの詳細

    • DocumentRoot

      public DocumentRoot(org.apache.commons.logging.Log logger)
  • 方法の詳細

    • setDirectory

      public void setDirectory(@Nullable FileSE directory)
    • getValidDirectory

      public final @Nullable FileSE getValidDirectory()
      有効なディレクトリを指している場合は絶対ドキュメントルートを返し、警告をログに記録し、それ以外の場合は null を返します。
      戻り値:
      有効なドキュメントルート