| Modifier and Type | Method and Description |
|---|---|
void |
WebResourceTransformation.addTransformParameters(TransformerCache transformerCache,
TransformerParameters transformerParameters,
UrlBuilder urlBuilder,
UrlBuildingStrategy urlBuildingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
DecoratingCondition.addToUrl(UrlBuilder urlBuilder,
UrlBuildingStrategy urlBuilderStrategy)
Called when constructing the URL as the hosting HTML page is being served.
|
void |
DecoratingUrlReadingCondition.addToUrl(UrlBuilder urlBuilder,
UrlBuildingStrategy urlBuilderStrategy) |
boolean |
DecoratingCondition.shouldDisplayImmediate(Map<String,Object> context,
UrlBuildingStrategy urlBuilderStrategy)
Calls the legacy condition's wrapped shouldDisplay(Map context) method.
|
boolean |
DecoratingUrlReadingCondition.shouldDisplayImmediate(Map<String,Object> context,
UrlBuildingStrategy urlBuilderStrategy) |
boolean |
DecoratingAndCompositeCondition.shouldDisplayImmediate(Map<String,Object> context,
UrlBuildingStrategy urlBuilderStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static UrlBuildingStrategy |
UrlBuildingStrategy.from(Optional<Coordinate> coord) |
UrlBuildingStrategy |
RequestState.getUrlStrategy() |
static UrlBuildingStrategy |
UrlBuildingStrategy.normal() |
static UrlBuildingStrategy |
UrlBuildingStrategy.overCoordinate(Coordinate coord) |
| Modifier and Type | Method and Description |
|---|---|
void |
CachedCondition.addToUrlSafely(RequestCache requestCache,
UrlBuilder urlBuilder,
UrlBuildingStrategy urlBuilderStrategy)
Add parameters of condition to url.
|
boolean |
CachedTransformers.addToUrlSafely(UrlBuilder urlBuilder,
UrlBuildingStrategy urlBuildingStrategy,
String type,
TransformerCache transformerCache,
TransformerParameters transformerParameters,
String webResourceKey)
Add transformer parameters to url.
|
boolean |
CachedCondition.evaluateSafely(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy)
Evaluate condition.
|
| Constructor and Description |
|---|
RequestState(Globals globals,
UrlBuildingStrategy urlBuildingStrategy) |
RequestState(Globals globals,
UrlBuildingStrategy urlBuildingStrategy,
boolean autoIncludeFrontendRuntime) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<Bundle> |
BaseHelpers.isConditionsSatisfied(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy)
Filter by web resource conditions evaluated immediately.
|
| Modifier and Type | Method and Description |
|---|---|
protected static UrlCache.IncludedExcludedConditionsAndBatchingOptions |
UrlGenerationHelpers.buildIncludedExcludedConditionsAndBatchingOptions(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
Collection<String> topLevelIncluded,
Collection<String> topLevelExcluded)
Building the cache key of included, excluded and conditions.
|
protected static CalculatedBatches |
UrlGenerationHelpers.calculateBatches(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
LinkedHashSet<String> topLevelIncluded,
LinkedHashSet<String> allExcluded)
Deprecated.
|
protected static CalculatedBatches |
UrlGenerationHelpers.calculateBatches(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
LinkedHashSet<String> topLevelIncluded,
LinkedHashSet<String> allExcluded,
Set<String> topLevelExcluded)
Groups given web resources and contexts in to batches, taking
any content that has already been served in to account.
|
protected static List<ResourceUrl> |
UrlGenerationHelpers.collectUrlStateAndBuildResourceUrls(RequestState requestState,
UrlBuildingStrategy urlBuilderStrategy,
List<ContextBatch> contextBatches,
List<WebResourceBatch> webResourceBatches)
Collect URL State for Conditions and Transformers and build Resource URLs.
|
protected static List<ResourceUrl> |
UrlGenerationHelpers.createResourceUrlsForRedirectResources(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
List<Resource> resources)
Creates Resource URLs for redirect resources.
|
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
Bundle bundle,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
List<Bundle> bundles,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
static Set<String> |
UrlGenerationHelpers.resolveExcluded(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
Collection<String> topLevelIncluded,
Collection<String> topLevelExcluded)
Deprecated.
use
DependencyGraph or BundleFinder instead
to avoid generating an entire URL set just to traverse the dependency graph. |
static Set<String> |
UrlGenerationHelpers.resolveExcluded(RequestCache requestCache,
UrlCache urlCache,
UrlBuildingStrategy urlBuilderStrategy,
Collection<String> topLevelIncluded,
Collection<String> topLevelExcluded)
Deprecated.
use
DependencyGraph or BundleFinder instead
to avoid generating an entire URL set just to traverse the dependency graph. |
static Tuple<List<ContextBatch>,List<WebResourceBatch>> |
UrlGenerationHelpers.splitIntoSubBatches(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
List<ContextBatchKey> contextBatchKeys,
List<String> webResourceBatchKeys,
Set<String> allExcluded)
Split batches into sub batches grouped by URL parameters and set of standalone resources.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<PluginResource> |
ContextBatchBuilder.buildBatched(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
List<String> includedContexts,
InclusionState excludedThings) |
Iterable<PluginResource> |
ContextBatchBuilder.buildBatched(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
List<String> includedContexts,
Set<String> excludedContexts) |
static LegacyUrlGenerationHelpers.Resolved |
LegacyUrlGenerationHelpers.calculateBatches(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
Collection<String> topLevelIncluded,
Collection<String> excludedResolved,
boolean includeDependenciesForFailedUrlReadingConditions)
Deprecated.
|
static LegacyUrlGenerationHelpers.Resolved |
LegacyUrlGenerationHelpers.calculateBatches(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
Collection<String> topLevelIncluded,
Collection<String> allExcluded,
Set<String> topLevelExcluded,
boolean includeDependenciesForFailedUrlReadingConditions)
Groups given web resources and contexts in to batches, taking
any content that has already been served in to account.
|
Iterable<ModuleDescriptorStub> |
ResourceDependencyResolver.getDependencies(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String moduleKey,
boolean excludeSuperBatchedResources,
boolean includeDependenciesForFailedUrlReadingConditions)
Returns an ordered set of the given resource and its dependencies.
|
Iterable<ModuleDescriptorStub> |
DefaultResourceDependencyResolver.getDependencies(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String moduleKey,
boolean excludeSuperBatchedResources,
boolean includeDependenciesForFailedUrlReadingConditions) |
Iterable<ModuleDescriptorStub> |
DefaultResourceDependencyResolver.getDependenciesInContext(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String context,
boolean excludeSuperBatchedResources,
Set<String> skippedResources,
boolean includeDependenciesForFailedUrlReadingConditions) |
Iterable<ModuleDescriptorStub> |
ResourceDependencyResolver.getDependenciesInContext(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String context,
Set<String> skippedResources,
boolean includeDependenciesForFailedUrlReadingConditions)
Returns an ordered list of the resources in a given context and its dependencies.
|
Iterable<ModuleDescriptorStub> |
DefaultResourceDependencyResolver.getDependenciesInContext(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
String context,
Set<String> skippedResources,
boolean includeDependenciesForFailedUrlReadingConditions) |
Collection<PluginResource> |
ResourceRequirer.includeResources(RequestCache requestCache,
UrlBuildingStrategy urlBuildingStrategy,
Set<String> requiredWebResources,
Set<String> requiredContexts,
InclusionState inclusion) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultStaticTransformers.addToUrl(String locationType,
TransformerParameters transformerParameters,
UrlBuilder urlBuilder,
UrlBuildingStrategy urlBuildingStrategy) |
void |
StaticTransformers.addToUrl(String locationType,
TransformerParameters transformerParameters,
UrlBuilder urlBuilder,
UrlBuildingStrategy urlBuildingStrategy)
Contributes to the URL for all static transformers matching the given type
|
Copyright © 2024 Atlassian. All rights reserved.