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
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultSourceDirectoryUrlFilter
public DefaultSourceDirectoryUrlFilter()
-
-
Method Details
-
isMatch
Description copied from interface:SourceDirectoryUrlFilter
Determine if the specified URL matches a source directory.- Specified by:
isMatch
in interfaceSourceDirectoryUrlFilter
- Parameters:
sourceDirectory
- the source directoryurl
- the URL to check- Returns:
true
if the URL matches
-