All Classes and Interfaces
Class
Description
Abstract base class for plugin resources
Abstract class for implementing downloadable resources that are wrapping an underlying resource.
Support for HTTP controller.
Stateless helper functions providing basic support for resolving dependencies for resources.
Generates urls and route requests to proper handlers.
Represents a batch of plugin resources.
The WebResourceFormatter should take a PluginResource and add the BatchResourceContents dependency information to
the output as required.
Web Resource.
Query builder for retrieving ordered lists of web-resource keys based on what the user is requesting
and what has previously been requested.
Walks the dependency graph of
Bundle objects and reduces the graph to an ordered list
of their keys, ensuring all upstream dependencies occur before the things depending on them.Represents a file cache.
Interface used by the file caching system.
Interface used by the file caching system.
Cached condition.
Wrapper around transformer to cache it.
DTO representing three collections:
1) ordered list of context batches to serve,
2) ordered list of web resource batches to serve, and
3) unordered "excluded resolved" list, which is a combination of all web resources and contexts
discovered in the dependency graph while constructing the first two lists, whose content will either be
served in these batch files or was omitted from them.
This interface aims to decouple clients from
Config which
currently contains the actual implementation.Wraps CDN prefix method from Config in order to not expose this class.
Interface for CDN strategies.
Interface for an OSGi service providing
CDNStrategy objects to the host application.Abstract class that makes it easy to create transforms that go from string to string.
Instance cache, needed to have only one instance of UrlReadingCondition for same UrlReadingConditon class and
initialization parameters.
Unites all the configurations in one place.
Binary content of Web Resource.
Helper to simplify implementation of Content class.
Factory to create URL aware web resource transformers with Source Map.
Defines a module descriptor for a
ContentTransformerFactory.Context.
Data structure representing Context Batch, it is used in cache and shouldn't contain any references.
An intermediary object used for constructing and merging context batches.
Performs a calculation on many referenced contexts, and produces an set of intermingled batched-contexts and residual
(skipped) resources.
Data structure representing Web Resource Batch Key.
A helper classes that knows how to perform certain operations on ContextBatch beans.
Represents a batch of all resources that declare themselves as part of a given context(s).
An adapter between the current URL Generation code and previous URL Output code.
Handles HTTP requests.
Writes data provided by a <data> element to a page.
Implementation of DecoratingCompositeCondition that fits the new UrlReadingCondition interface.
A condition interface that wraps
UrlReadingCondition.Instance of a DecoratingCondition that wraps a UrlReadingCondition
Default implementation of PageBuilderService
Implementation of PluginUrlResource
Default PluginDataResource
Implementation of PluginUrlResource
Default configuration for the plugin resource locator, for those applications that do not want to perform
any super-batching.
StaticTransformers implementation.Implementation of
StaticTransformersSupplierImplementation of UrlBuilder
Implementation of WebResourceAssemblerBuilder
Default implementation of WebResourceAssemblerFactory
A Web Resource Filter that allows for css and javascript resources.
Implementation of WebResourceSet
Responsible for defining the dependency between a source and target vertex in a
DependencyGraph.Maps the dependencies between items of a given type, where the vertex is the item and the edge is their dependency relation.
Holds info about a deprecated web resource module descriptor.
Implements a thread-safe FileCache.
A wrapper around the checks for various system properties and values
so the remainder of the webresource plugin can be relatively undisturbed
by implementation details
Represents the result of walking the dependency graph via
BundleWalker, where every
item is in is in topological sort order.Tuple of a
Requestable key and its contribution Found.State
to the response for a client request.Set of global final stateless objects like configuration, cache etc.
Builds md5 hashes
Represents a
Writer wrapper responsible for writing WebResourceInformation.getResourceUrls() as HTML tags, according to their extension.Represents all web resources and contexts that have already been served
to the client and should not be served again.
This class goal is to allow the load of the most appropriate source of content for the file.
Factory used to build a
InitialContent.Fired when a batch bundle is requested with wrong / outdated bundle hash in the URL.
Deprecated.
since 3.0.
DTO representing three collections:
1) ordered list of context batches to serve,
2) ordered list of web resource batches to serve, and
3) unordered "excluded resolved" list, which is a combination of all web resources and contexts
discovered in the dependency graph while constructing the first two lists, whose content will either be
served in these batch files or was omitted from them.
Helper to simplify working with multiple annotators.
Add comment with information about the single resource included in batch.
Deprecated.
A short-term refactoring measure that puts a strong type around poor ones.
Stub to plug modules into existing WRM system.
Represents a
RawRequest whose Requestable members have been expanded and normalised
in to WebResourceKey values.OutputStream that discards all bytes
Caches the contents of a stream, and deletes the cache when asked to do so.
Comparator for sorting sub batches.
Always streams each resource from the given input
Utility for loading a class from a plugin
Represents a plugin resource.
If the Resource belongs to Plugin - represents that Plugin, mostly needed as a stub.
A downloadable plugin resource, as described here: http://confluence.atlassian.com/display/JIRA/Downloadable+plugin+resource
It supports the download of single plugin resources as well as batching.
Assists in locating plugin resources in different ways.
Deprecated.
since 3.3.2
Default implementation of
PluginResourceLocator.Deprecated.
since 3.3.2
What the bundle walker should do when a deep filter predicate fails.
Wrapper responsible for providing the right
PrefetchHtmlFormatter according
to each URL type and generating an URL as <link rel="prefetch" href="theurl">.Writer wrapper responsible for writing HTML import tags with urls as prefetch.
Outputs all URLs as
<link rel="prefetch" href="theurl">.Provides access to querystring params.
Represents the specific
Requestable keys a developer has explicitly
included or excluded for a given request, along with the phases they should be loaded in.Transformer that converts relative urls in CSS resources into absolute urls.
WebResourceTransformerMatcher for relative url resourcesPossibly would be replaced by original request, currently original request is hard to use because parsed `path` and
`params` not available on it, it also hides some other implementation details that wont be needed after the
refactoring.
Represents anything a developer can request or "require" directly to load on the frontend.
Determines whether a loosely-typed input conforms to the rules of a specific
Requestable sub-type.A place to store the results of operations performed during a single request-response lifecycle.
Analytic event to capture how effective the request serving cache is
State maintained during single request.
Cache result and its version, when retrieving it checks the version of the cached result and rebuild it if it's
different.
Resource of Web Resource or Plugin.
Resource batching configuration for the
WebResourceManagerImpl.Implemented by classes that want to annotate the write of a plugin resource.
This Tuckey URL
RewriteRule will normalize a URL and then make sure that it does
not attempt to use directory traversal to access the WEB-INF directory.Query builder for retrieving ordered lists of
Resource objects based on what the user is requesting
and what has previously been requested.Key to identify Resource.
Container storing resource keys.
TODO: Document this class / interface here
Stateless helper functions providing support for serving resources.
An adapter between the current URL Generation code and previous URL Output code.
An adapter between the current URL Generation code and previous URL Output code.
Represents a wrapper for resources urls, since there are several ways of retrieving resources urls.
Probably would be removed after the refactoring, currently needed to hide some implementation details.
Container for a root-page.
Represents a special web-resource key used by a developer to reference every single web-resource
and web-resource context a given page in the application should load when requested.
Generates urls and route requests to proper handlers.
Prepend and append a semicolon.
Represents the various unique modes of serving content at a URL.
Snapshot of the current state of the plugin system, captures list of web resources and its transformers
and conditions.
Stub for SourceMapJoiner, needed to replace it when Source Map generation not needed.
Applies a fixed set of transformers to all resources by type.
Supplies static transformers
Base class for caching streams, mostly contains concurrency related logic, the file operations implemented
in children.
Data structure representing Sub Batch of both Web Resource Batch and Context Batch,
it is used in cache and shouldn't contain any references.
Builds superbatch resources
Keeps the superbatch configuration in one place.
Represents the special "super-batch" web-resource context.
Creates a batch of all like-typed resources that are declared as "super-batch="true"" in their plugin
definitions.
Basic utility functions.
Represents the special synchronous or "sync batch" web-resource context.
Contains Transformer Descriptors grouped by its keys.
Utility class for transforming resources
This should only be used for annotating Javascript resources.
Needed to return two results from the method.
Caches the contents of two streams, and deletes the cache when asked to do so.
Cache for URL Generation, or more exactly three Caches for:
- Batches for given included and excluded.
Result of evaluated condition with the condition itself.
Implementation.
No caching implementation.
Stateless helper functions providing basic support for resource url generation.
Implementation of AbstractConditionElementParser for UrlReadingCondition.
The part of a transformer that reads the config and url params and does the actual resource transformation and
generates the Source Map.
Defines a module descriptor for a
WebResourceTransformerFactory.Web Resource.
Data structure representing Web Resource Batch, it is used in cache and shouldn't contain any references.
A ready-to-use implementation of batching state counter.
Represents a web-resource context key.
Parses <data> elements into
WebResourceDataProvider instancesA formatter to format web resources into HTML.
The integration points between the Web Resource layer, and specific applications (eg JIRA, Confluence).
Represents a single web-resource key.
A handy super-class that handles most of the resource management.
A way of linking to web 'resources', such as javascript or css.
An adapter between the current URL Generation code and previous URL Output code.
Represents a set of transformer invocations for a specific web resource set and extension.
Describes whether a resource transformer matches a type or resource location
The default implementation of
WebResourceUrlProvider.