Uses of Class
com.atlassian.plugin.webresource.impl.Globals
Packages that use Globals
Package
Description
-
Uses of Globals in com.atlassian.plugin.webresource
Methods in com.atlassian.plugin.webresource that return GlobalsMethods in com.atlassian.plugin.webresource with parameters of type GlobalsModifier and TypeMethodDescriptionprotected voidPluginResourceLocatorImpl.initialize(com.atlassian.plugin.event.PluginEventManager pluginEventManager, Globals globals) Deprecated.Initialises WRM's behaviour, bindingGlobalsto the plugin framework events, so it can update and invalidate its caches as the system state changes.Constructors in com.atlassian.plugin.webresource with parameters of type GlobalsModifierConstructorDescriptionContextSubBatchResourceUrl(Globals globals, ContextBatch contextBatch, SubBatch subBatch, String type, Map<String, String> params, String hash) PluginResourceLocatorImpl(com.atlassian.plugin.event.PluginEventManager pluginEventManager, Globals globals) Deprecated.Added for PLUGWEB-612 as a way for anybody who created their ownGlobalsobject, via Spring or otherwise.WebResourceManagerImpl(Globals globals, WebResourceIntegration webResourceIntegration, WebResourceUrlProvider webResourceUrlProvider) WebResourceManagerImpl(Globals globals, WebResourceIntegration webResourceIntegration, WebResourceUrlProvider webResourceUrlProvider, ResourceBatchingConfiguration batchingConfiguration) WebResourceSubBatchUrl(Globals globals, String key, SubBatch subBatch, String type, Map<String, String> params, String hash) -
Uses of Globals in com.atlassian.plugin.webresource.assembler
Constructors in com.atlassian.plugin.webresource.assembler with parameters of type GlobalsModifierConstructorDescription -
Uses of Globals in com.atlassian.plugin.webresource.impl
Methods in com.atlassian.plugin.webresource.impl that return GlobalsModifier and TypeMethodDescriptionRequestCache.getGlobals()RequestState.getGlobals()Deprecated.since 5.0.0.Constructors in com.atlassian.plugin.webresource.impl with parameters of type GlobalsModifierConstructorDescriptionRequestCache(Globals globals) RequestState(Globals globals, UrlBuildingStrategy urlBuildingStrategy, boolean autoIncludeFrontendRuntime) -
Uses of Globals in com.atlassian.plugin.webresource.impl.helpers
Methods in com.atlassian.plugin.webresource.impl.helpers with parameters of type GlobalsModifier and TypeMethodDescriptionprotected static ContentResourceServingHelpers.applyStaticTransformers(Globals globals, Resource resource, Content content, Map<String, String> params, String sourceUrl) Apply Static Transformers to Resource.protected static ContentResourceServingHelpers.applyTransformers(Globals globals, Resource resource, Content content, Map<String, String> params, String sourceUrl) Apply Transformers to Resource.static StringThe `params` contains all the params from url, so if we build the key using all params it will be correct but inefficient for the caching.static ResourceResourceServingHelpers.getFromOSGiPluginModuleResource(Globals globals, String completeKeyOrPluginKey, String resourceName) Get Resource from an OSGi plugin module.protected static ResourceResourceServingHelpers.getPluginResource(Globals globals, String completeKeyOrPluginKey, String resourceName) Get Resource for Plugin.protected static ResourceResourceServingHelpers.getResourceRelativeToPlugin(Globals globals, String completeKeyOrPluginKey, String resourceName) Deprecated.since v3.3.2static ContentResourceServingHelpers.transform(Globals globals, LinkedHashSet<String> requiredResources, String url, Resource resource, Map<String, String> params, boolean applyAnnotators) Transform given Resource by applying Transformers and Static Transformers.static ContentResourceServingHelpers.transform(Globals globals, LinkedHashSet<String> requiredResources, String url, String type, Supplier<Collection<Resource>> resourcesSupplier, Map<String, String> params) Apply conditions and transformations to list of Resources and generate resulting Batch.static ContentResourceServingHelpers.transformSafely(Globals globals, LinkedHashSet<String> requiredResources, String url, Resource resource, Map<String, String> params, boolean applyAnnotators) Transform given Resource by applying Transformers and Static Transformers.static ContentResourceServingHelpers.transformWithoutCache(Globals globals, LinkedHashSet<String> requiredResources, String url, Resource resource, Map<String, String> params, boolean applyAnnotators) Transform given Resource by applying Transformers and Static Transformers. -
Uses of Globals in com.atlassian.plugin.webresource.impl.http
Methods in com.atlassian.plugin.webresource.impl.http with parameters of type GlobalsModifier and TypeMethodDescriptionprotected ControllerRouter.createController(Globals globals, Request request, Response response) Constructors in com.atlassian.plugin.webresource.impl.http with parameters of type GlobalsModifierConstructorDescriptionController(Globals globals, Request request, Response response) protectedRouter(Globals globals, List<BaseRouter<Controller>.Route> routes, boolean useAbsoluteUrl) Needed to support legacy API. -
Uses of Globals in com.atlassian.plugin.webresource.impl.support.factory
Constructors in com.atlassian.plugin.webresource.impl.support.factory with parameters of type Globals -
Uses of Globals in com.atlassian.plugin.webresource.impl.support.http
Fields in com.atlassian.plugin.webresource.impl.support.http declared as GlobalsModifier and TypeFieldDescriptionprotected final GlobalsBaseController.globalsprotected final GlobalsBaseRouter.globalsMethods in com.atlassian.plugin.webresource.impl.support.http that return GlobalsMethods in com.atlassian.plugin.webresource.impl.support.http with parameters of type GlobalsModifier and TypeMethodDescriptionprotected abstract ControllerBaseRouter.createController(Globals globals, Request request, Response response) Override this method and provide instance of the controller.Constructors in com.atlassian.plugin.webresource.impl.support.http with parameters of type GlobalsModifierConstructorDescriptionBaseController(Globals globals, Request request, Response response) BaseRouter(Globals globals) protectedBaseRouter(Globals globals, List<BaseRouter<Controller>.Route> routes, boolean useAbsoluteUrl) Needed to support legacy API. -
Uses of Globals in com.atlassian.plugin.webresource.legacy
Constructors in com.atlassian.plugin.webresource.legacy with parameters of type GlobalsModifierConstructorDescriptionDefaultResourceDependencyResolver(Globals globals, WebResourceIntegration webResourceIntegration, boolean isSuperBatchingEnabled, List<String> superBatchModuleCompleteKeys) -
Uses of Globals in com.atlassian.plugin.webresource.servlet
Methods in com.atlassian.plugin.webresource.servlet with parameters of type GlobalsConstructors in com.atlassian.plugin.webresource.servlet with parameters of type GlobalsModifierConstructorDescriptionPluginResourceDownload(Globals globals, com.atlassian.plugin.servlet.ContentTypeResolver contentTypeResolver, String characterEncoding)