Package org.mozilla.javascript.commonjs.module.provider
package org.mozilla.javascript.commonjs.module.provider
Provides default implementations for module providers.
-
ClassDescriptionAbstract base class that implements caching of loaded module scripts.Instances of this class represent a loaded and cached module script.The default heuristic for calculating cache expiry of URL-based resources.Represents the source text of the module as a tuple of a reader, a URI, a security domain, and a cache validator.Implemented by objects that can provide the source text for the script.A base implementation for all module script providers that actually load module scripts.A multiplexer for module script providers.Breaks a "contentType; charset=encoding" MIME type into content type and encoding parts.A module script provider that uses a module source provider to load modules and caches the loaded modules.A module script provider that uses a module source provider to load modules and caches the loaded modules.Implemented by objects that can be used as heuristic strategies for calculating the expiry of a cached resource in cases where the server of the resource doesn't provide explicit expiry information.Interface for URL connection based security domain providers.A URL-based script provider that can load modules against a set of base privileged and fallback URIs.