Class BundleSchemeResourceFinderFactory
java.lang.Object
org.glassfish.jersey.server.internal.scanning.BundleSchemeResourceFinderFactory
- All Implemented Interfaces:
UriSchemeResourceFinderFactory
final class BundleSchemeResourceFinderFactory
extends Object
implements UriSchemeResourceFinderFactory
Preparations for OSGi support.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate new bundle scheme resource finder factory. -
Method Summary
Modifier and TypeMethodDescriptionCreate newResourceFinderfor a given resource URI.Get the set of supported URI schemes.
-
Field Details
-
SCHEMES
-
-
Constructor Details
-
BundleSchemeResourceFinderFactory
BundleSchemeResourceFinderFactory()Create new bundle scheme resource finder 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.
-