Uses of Class
com.atlassian.plugin.webresource.impl.UrlBuildingStrategy
Packages that use UrlBuildingStrategy
Package
Description
-
Uses of UrlBuildingStrategy in com.atlassian.plugin.webresource
Methods in com.atlassian.plugin.webresource with parameters of type UrlBuildingStrategyModifier and TypeMethodDescriptionvoidWebResourceTransformation.addTransformParameters(TransformerCache transformerCache, TransformerParameters transformerParameters, UrlBuilder urlBuilder, UrlBuildingStrategy urlBuildingStrategy) -
Uses of UrlBuildingStrategy in com.atlassian.plugin.webresource.condition
Methods in com.atlassian.plugin.webresource.condition with parameters of type UrlBuildingStrategyModifier and TypeMethodDescriptionvoidDecoratingCondition.addToUrl(UrlBuilder urlBuilder, UrlBuildingStrategy urlBuilderStrategy) Called when constructing the URL as the hosting HTML page is being served.voidDecoratingUrlReadingCondition.addToUrl(UrlBuilder urlBuilder, UrlBuildingStrategy urlBuilderStrategy) -
Uses of UrlBuildingStrategy in com.atlassian.plugin.webresource.impl
Methods in com.atlassian.plugin.webresource.impl that return UrlBuildingStrategyModifier and TypeMethodDescriptionRequestState.getUrlStrategy()static UrlBuildingStrategyUrlBuildingStrategy.normal()Methods in com.atlassian.plugin.webresource.impl with parameters of type UrlBuildingStrategyModifier and TypeMethodDescriptionvoidCachedCondition.addToUrlSafely(RequestCache requestCache, UrlBuilder urlBuilder, UrlBuildingStrategy urlBuilderStrategy) Add parameters of condition to url.voidCachedTransformers.addToUrlSafely(UrlBuilder urlBuilder, UrlBuildingStrategy urlBuildingStrategy, String type, TransformerCache transformerCache, TransformerParameters transformerParameters, String webResourceKey) Add transformer parameters to url.booleanCachedCondition.evaluateSafely(RequestCache requestCache, UrlBuildingStrategy urlBuilderStrategy) TheUrlReadingConditionwill be asked to generate parameters and evaluate it.Constructors in com.atlassian.plugin.webresource.impl with parameters of type UrlBuildingStrategyModifierConstructorDescriptionRequestState(Globals globals, UrlBuildingStrategy urlBuildingStrategy, boolean autoIncludeFrontendRuntime) -
Uses of UrlBuildingStrategy in com.atlassian.plugin.webresource.impl.helpers
Methods in com.atlassian.plugin.webresource.impl.helpers with parameters of type UrlBuildingStrategyModifier and TypeMethodDescriptionBaseHelpers.isConditionsSatisfied(RequestCache requestCache, UrlBuildingStrategy urlBuilderStrategy) Filter by web resource conditions evaluated immediately. -
Uses of UrlBuildingStrategy in com.atlassian.plugin.webresource.impl.helpers.url
Methods in com.atlassian.plugin.webresource.impl.helpers.url with parameters of type UrlBuildingStrategyModifier and TypeMethodDescriptionprotected static UrlCache.IncludedExcludedConditionsAndBatchingOptionsUrlGenerationHelpers.buildIncludedExcludedConditionsAndBatchingOptions(RequestCache requestCache, UrlBuildingStrategy urlBuilderStrategy, Collection<String> topLevelIncluded, Collection<String> topLevelExcluded) Building the cache key of included, excluded and conditions.protected static CalculatedBatchesUrlGenerationHelpers.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 StateEncodedUrlResultUrlGenerationHelpers.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 StateEncodedUrlResultUrlGenerationHelpers.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.UrlGenerationHelpers.resolveExcluded(RequestCache requestCache, UrlCache urlCache, UrlBuildingStrategy urlBuilderStrategy, Collection<String> topLevelIncluded, Collection<String> topLevelExcluded) Deprecated.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. -
Uses of UrlBuildingStrategy in com.atlassian.plugin.webresource.legacy
Methods in com.atlassian.plugin.webresource.legacy with parameters of type UrlBuildingStrategyModifier and TypeMethodDescriptionContextBatchBuilder.buildBatched(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, List<String> includedContexts, InclusionState excludedThings) LegacyUrlGenerationHelpers.calculateBatches(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, Collection<String> topLevelIncluded, Collection<String> excludedResolved, boolean includeDependenciesForFailedUrlReadingConditions) Deprecated.since 5.5.0.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.DefaultResourceDependencyResolver.getDependencies(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String moduleKey, boolean excludeSuperBatchedResources, boolean includeDependenciesForFailedUrlReadingConditions) ResourceDependencyResolver.getDependencies(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String moduleKey, boolean excludeSuperBatchedResources, boolean includeDependenciesForFailedUrlReadingConditions) Returns an ordered set of the given resource and its dependencies.DefaultResourceDependencyResolver.getDependenciesInContext(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String context, boolean excludeSuperBatchedResources, Set<String> skippedResources, boolean includeDependenciesForFailedUrlReadingConditions) DefaultResourceDependencyResolver.getDependenciesInContext(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, String context, Set<String> skippedResources, boolean includeDependenciesForFailedUrlReadingConditions) 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.ResourceRequirer.includeResources(RequestCache requestCache, UrlBuildingStrategy urlBuildingStrategy, Set<String> requiredWebResources, Set<String> requiredContexts, InclusionState inclusion) -
Uses of UrlBuildingStrategy in com.atlassian.plugin.webresource.transformer
Methods in com.atlassian.plugin.webresource.transformer with parameters of type UrlBuildingStrategyModifier and TypeMethodDescriptionvoidDefaultStaticTransformers.addToUrl(String locationType, TransformerParameters transformerParameters, UrlBuilder urlBuilder, UrlBuildingStrategy urlBuildingStrategy) voidStaticTransformers.addToUrl(String locationType, TransformerParameters transformerParameters, UrlBuilder urlBuilder, UrlBuildingStrategy urlBuildingStrategy) Contributes to the URL for all static transformers matching the given type
DependencyGraphorBundleFinderinstead to avoid generating an entire URL set just to traverse the dependency graph.