Uses of Class
com.atlassian.plugin.webresource.impl.RequestCache
Packages that use RequestCache
Package
Description
-
Uses of RequestCache in com.atlassian.plugin.webresource
Methods in com.atlassian.plugin.webresource with parameters of type RequestCacheModifier and TypeMethodDescriptionContextSubBatchResourceUrl.getResources(RequestCache requestCache) ResourceUrl.getResources(RequestCache requestCache) ResourceUrlImpl.getResources(RequestCache requestCache) WebResourceSubBatchUrl.getResources(RequestCache requestCache) -
Uses of RequestCache in com.atlassian.plugin.webresource.impl
Methods in com.atlassian.plugin.webresource.impl that return RequestCacheMethods in com.atlassian.plugin.webresource.impl with parameters of type RequestCacheModifier and TypeMethodDescriptionvoidCachedCondition.addToUrlSafely(RequestCache requestCache, UrlBuilder urlBuilder, UrlBuildingStrategy urlBuilderStrategy) Add parameters of condition to url.booleanCachedCondition.evaluateSafely(RequestCache requestCache, UrlBuildingStrategy urlBuilderStrategy) TheUrlReadingConditionwill be asked to generate parameters and evaluate it.booleanCachedCondition.evaluateSafely(RequestCache requestCache, Map<String, String> params) TheUrlReadingConditionwill be asked to generate parameters and evaluate it. -
Uses of RequestCache in com.atlassian.plugin.webresource.impl.discovery
Constructors in com.atlassian.plugin.webresource.impl.discovery with parameters of type RequestCacheModifierConstructorDescriptionResourceFinder(BundleFinder bundleFinder, RequestCache requestCache) -
Uses of RequestCache in com.atlassian.plugin.webresource.impl.helpers
Methods in com.atlassian.plugin.webresource.impl.helpers with parameters of type RequestCacheModifier and TypeMethodDescriptionstatic ResourceResourceServingHelpers.getResource(RequestCache requestCache, String completeKey, String resourceName) Get resource for Web Resource or Plugin, also resolves relative paths.static ResourceResourceServingHelpers.getResource(RequestCache requestCache, Collection<String> bundles, String resourceName) Get Resource for one of Web Resources.protected static ResourceResourceServingHelpers.getResourceRelativeToWebResource(RequestCache requestCache, String completeKey, String resourceName) Deprecated.since v3.3.2protected static ResourceResourceServingHelpers.getWebResourceResource(RequestCache requestCache, String completeKey, String resourceName) Get Resource for Web Resource.BaseHelpers.isConditionsSatisfied(RequestCache requestCache, UrlBuildingStrategy urlBuilderStrategy) Filter by web resource conditions evaluated immediately.BaseHelpers.isConditionsSatisfied(RequestCache requestCache, Map<String, String> params) Filter by web resource conditions evaluated against params. -
Uses of RequestCache in com.atlassian.plugin.webresource.impl.helpers.url
Methods in com.atlassian.plugin.webresource.impl.helpers.url with parameters of type RequestCacheModifier 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.static StringUrlGenerationHelpers.calculateBundleHash(RawRequest rawRequest, RequestCache requestCache) Calculates URL resource hashes for given request.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.SubBatch.getResourcesOfType(RequestCache requestCache, String type) ContextBatch.getStandaloneResourcesOfType(RequestCache requestCache, String type) WebResourceBatch.getStandaloneResourcesOfType(RequestCache requestCache, String type) UrlGenerationHelpers.resolveExcluded(RequestCache requestCache, UrlCache urlCache, UrlBuildingStrategy urlBuilderStrategy, Collection<String> topLevelIncluded, Collection<String> topLevelExcluded) Deprecated.useDependencyGraphorBundleFinderinstead to avoid generating an entire URL set just to traverse the dependency graph.protected static com.atlassian.plugin.webresource.impl.helpers.url.SplitSubBatchesUrlGenerationHelpers.splitBatchIntoSubBatches(RequestCache requestCache, Found found, boolean doSorting) Split batch into sub batches and standalone resources, same code used to split both context and resource batches.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 RequestCache in com.atlassian.plugin.webresource.impl.snapshot
Methods in com.atlassian.plugin.webresource.impl.snapshot with parameters of type RequestCacheModifier and TypeMethodDescriptionBundle.getResources(RequestCache cache) Get Resources of this Web Resource.Context.getResources(RequestCache cache) WebResource.getResources(RequestCache cache) -
Uses of RequestCache in com.atlassian.plugin.webresource.legacy
Methods in com.atlassian.plugin.webresource.legacy with parameters of type RequestCacheModifier 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)