Class VfsSchemeResourceFinderFactory
java.lang.Object
org.glassfish.jersey.server.internal.scanning.VfsSchemeResourceFinderFactory
- All Implemented Interfaces:
UriSchemeResourceFinderFactory
A JBoss-based "vfsfile", "vfs" and "vfszip" scheme URI scanner.
This approach uses reflection to allow for zero-deps and support
for both the v2 (EAP5, AS5) and v3 VFS APIs (AS6, AS7, EAP6 & WildFly)
which are not binary compatible.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate newResourceFinder
for a given resource URI.Get the set of supported URI schemes.
-
Field Details
-
SCHEMES
-
-
Constructor Details
-
VfsSchemeResourceFinderFactory
VfsSchemeResourceFinderFactory()
-
-
Method Details
-
getSchemes
Description copied from interface:UriSchemeResourceFinderFactory
Get the set of supported URI schemes.- Specified by:
getSchemes
in interfaceUriSchemeResourceFinderFactory
- Returns:
- the supported URI schemes.
-
create
Description copied from interface:UriSchemeResourceFinderFactory
Create newResourceFinder
for a given resource URI.- Specified by:
create
in 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.
-