Class DocumentRoot
java.lang.Object
org.springframework.boot.web.server.servlet.DocumentRoot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal File
Returns the absolute document root when it points to a valid directory, logging a warning and returningnull
otherwise.void
setDirectory
(File directory)
-
Constructor Details
-
DocumentRoot
-
-
Method Details
-
setDirectory
-
getValidDirectory
Returns the absolute document root when it points to a valid directory, logging a warning and returningnull
otherwise.- Returns:
- the valid document root
-