public class

ContextBatchSubResourceBuilder

extends Object
java.lang.Object
   ↳ com.atlassian.plugin.webresource.ContextBatchSubResourceBuilder

Class Overview

Provides a fallback to serve resources relative to a context batch resource In practice, the resources url should be transformed via the {{com.atlassian.plugin.webresource.RelativeURLTransformResource}}. This builder is in place in case this does not happen

Summary

Fields
public static final Pattern CONTEXT_BATCH_PATTERN
Public Constructors
ContextBatchSubResourceBuilder(ResourceDependencyResolver dependencyResolver, DownloadableResourceFinder resourceFinder)
Public Methods
boolean matches(String path)
DownloadableResource parse(String path, Map<StringString> params)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Pattern CONTEXT_BATCH_PATTERN

Public Constructors

public ContextBatchSubResourceBuilder (ResourceDependencyResolver dependencyResolver, DownloadableResourceFinder resourceFinder)

Public Methods

public boolean matches (String path)

public DownloadableResource parse (String path, Map<StringString> params)