Class DocumentRoot
java.lang.Object
org.springframework.boot.web.server.servlet.DocumentRoot
Manages a 
ServletWebServerFactory document root.- Since:
 - 4.0.0
 - Author:
 - Phillip Webb
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal @Nullable FileReturns the absolute document root when it points to a valid directory, logging a warning and returningnullotherwise.voidsetDirectory(@Nullable File directory)  
- 
Constructor Details
- 
DocumentRoot
public DocumentRoot(org.apache.commons.logging.Log logger)  
 - 
 - 
Method Details
- 
setDirectory
 - 
getValidDirectory
Returns the absolute document root when it points to a valid directory, logging a warning and returningnullotherwise.- Returns:
 - the valid document root
 
 
 -