Class DefaultSourceDirectoryUrlFilter
java.lang.Object
org.springframework.boot.devtools.restart.server.DefaultSourceDirectoryUrlFilter
- All Implemented Interfaces:
SourceDirectoryUrlFilter
Default implementation of
SourceDirectoryUrlFilter that attempts to match URLs
using common naming conventions.- Since:
- 2.3.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultSourceDirectoryUrlFilter
public DefaultSourceDirectoryUrlFilter()
-
-
Method Details
-
isMatch
Description copied from interface:SourceDirectoryUrlFilterDetermine if the specified URL matches a source directory.- Specified by:
isMatchin interfaceSourceDirectoryUrlFilter- Parameters:
sourceDirectory- the source directoryurl- the URL to check- Returns:
trueif the URL matches
-