Package org.readium.r2.shared.fetcher
See: Description
-
Class Summary Class Description ArchiveFetcher Provides access to entries of an archive. BaseBytesResource BytesResource Creates a Resource serving ByteArray. StringResource Creates a Resource serving a String. EmptyFetcher A Fetcher providing no resources at all. FileResource FileFetcher Provides access to resources on the local file system. HttpFetcher Fetches remote resources through HTTP. BadRequest Equivalent to a 400 HTTP error. NotFound Equivalent to a 404 HTTP error. Forbidden Equivalent to a 403 HTTP error. Unavailable Equivalent to a 503 HTTP error. OutOfMemory Equivalent to a 507 HTTP error. Other For any other error, such as HTTP 500. Exception Errors occurring while accessing a resource. FailureResource Creates a Resource that will always return the given error. FallbackResource Resource that will act as a proxy to a fallback resource if the originalResource errors out. ProxyResource A base class for a Resource which acts as a proxy to another one. TransformingResource Transforms the bytes of resource on-the-fly. LazyResource Wraps a Resource which will be created only when first accessing one of its members. SynchronizedResource Protects the access to a wrapped resource with a mutex to make it thread-safe. BufferingResource Wraps a Resource and buffers its content. DefaultResourceContentExtractorFactory HtmlResourceContentExtractor ResourceContentExtractor implementation for HTML resources. ResourceInputStream Input stream reading a Resource's content. Route Holds a child fetcher and the predicate used to determine if it can answer a request. RoutingFetcher Routes requests to child fetchers, depending on a provided predicate. TransformingFetcher Transforms the resources' content of a child fetcher using a list of ResourceTransformer functions. ResourceKt