# Package org.mozilla.javascript.commonjs.module.provider

Provides default implementations for module providers.

- Interface Summary
  Interface | Description
  --- | ---
  ModuleSourceProvider | Implemented by objects that can provide the source text for the script.
  UrlConnectionExpiryCalculator | 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.
  UrlConnectionSecurityDomainProvider | Interface for URL connection based security domain providers.

- Class Summary
  Class | Description
  --- | ---
  CachingModuleScriptProviderBase | Abstract base class that implements caching of loaded module scripts.
  CachingModuleScriptProviderBase.CachedModuleScript | Instances of this class represent a loaded and cached module script.
  DefaultUrlConnectionExpiryCalculator | The default heuristic for calculating cache expiry of URL-based resources.
  ModuleSource | Represents the source text of the module as a tuple of a reader, a URI, a security domain, and a cache validator.
  ModuleSourceProviderBase | A base implementation for all module script providers that actually load module scripts.
  MultiModuleScriptProvider | A multiplexer for module script providers.
  ParsedContentType | Breaks a "contentType; charset=encoding" MIME type into content type and encoding parts.
  SoftCachingModuleScriptProvider | A module script provider that uses a module source provider to load modules and caches the loaded modules.
  StrongCachingModuleScriptProvider | A module script provider that uses a module source provider to load modules and caches the loaded modules.
  UrlModuleSourceProvider | A URL-based script provider that can load modules against a set of base privileged and fallback URIs.