Class FileSchemeResourceFinderFactory
java.lang.Object
org.glassfish.jersey.server.internal.scanning.FileSchemeResourceFinderFactory
- All Implemented Interfaces:
UriSchemeResourceFinderFactory
final class FileSchemeResourceFinderFactory
extends Object
implements UriSchemeResourceFinderFactory
A "file" scheme URI scanner that recursively scans directories.
Files are reported to a
ResourceProcessor.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate new "file" scheme URI scanner factory. -
Method Summary
Modifier and TypeMethodDescriptionCreate newResourceFinderfor a given resource URI.Get the set of supported URI schemes.
-
Field Details
-
SCHEMES
-
-
Constructor Details
-
FileSchemeResourceFinderFactory
FileSchemeResourceFinderFactory()Create new "file" scheme URI scanner factory.
-
-
Method Details
-
getSchemes
Description copied from interface:UriSchemeResourceFinderFactoryGet the set of supported URI schemes.- Specified by:
getSchemesin interfaceUriSchemeResourceFinderFactory- Returns:
- the supported URI schemes.
-
create
Description copied from interface:UriSchemeResourceFinderFactoryCreate newResourceFinderfor a given resource URI.- Specified by:
createin interfaceUriSchemeResourceFinderFactory- Parameters:
uri- resource URI.recursive- defines whether a resource finder should recursively scan any recognized sub-resource URIs (value oftrue) or not (value offalse).- Returns:
- resource finder for a given URI.
-