Package com.levigo.jadice.web.server
Interface UriBasedDocumentDataProvider
- All Superinterfaces:
DocumentDataProvider<UriSource,
UriHandle>
- All Known Implementing Classes:
DemoUploadSchemeDocumentDataProvider
An interface for specialized
DocumentDataProvider
s. A DataProviders that implement this interface
reacts to a specific URI scheme (e.g. http, ftp, ...). Per definition, those DataProviders don't use
generics as they all rely on UriSource and UriHandle under the hood.-
Method Summary
Modifier and TypeMethodDescriptiondefault UriHandle
createSourceHandle
(UriSource source) Creates the required UriSource for loading the documentDeprecated, for removal: This API element is subject to removal in a future version.default boolean
pertainsTo
(String scheme) Deprecated, for removal: This API element is subject to removal in a future version.Schemes are now defined via theUriScheme
AnnotationMethods inherited from interface com.levigo.jadice.web.server.DocumentDataProvider
read, recover
-
Method Details
-
pertainsTo
Deprecated, for removal: This API element is subject to removal in a future version.Schemes are now defined via theUriScheme
AnnotationThe DataProvider should return here, which URI-schemes it pertains to- Parameters:
scheme
-- Returns:
- true if the given scheme is applicable for this DataProvider
-
getSchemes
Deprecated, for removal: This API element is subject to removal in a future version.Schemes are now defined via theUriScheme
AnnotationThe DataProvider should return here, which URI-schemes it pertains to- Returns:
-
UriScheme
Annotation