| Modifier and Type | Method and Description |
|---|---|
Globals |
PluginResourceLocatorImpl.temporaryWayToGetGlobalsDoNotUseIt()
Deprecated.
|
Globals |
PluginResourceLocator.temporaryWayToGetGlobalsDoNotUseIt()
Deprecated.
since 3.3.2
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PluginResourceLocatorImpl.initialize(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
Globals globals)
Deprecated.
Initialises WRM's behaviour, binding
Globals to the plugin framework events, so it can
update and invalidate its caches as the system state changes. |
| Constructor and Description |
|---|
ContextSubBatchResourceUrl(Globals globals,
ContextBatch contextBatch,
SubBatch subBatch,
String type,
Map<String,String> params,
String hash,
boolean hasLegacyTransformers,
List<PrebakeError> prebakeErrors) |
PluginResourceLocatorImpl(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
Globals globals)
Deprecated.
Added for PLUGWEB-612 as a way for anybody who created their own
Globals object,
via Spring or otherwise. |
ResourceUrlImpl(Globals globals,
Resource resource,
Map<String,String> params,
String hash,
boolean hasLegacyTransformer,
List<PrebakeError> prebakeErrors) |
WebResourceSubBatchUrl(Globals globals,
String key,
SubBatch subBatch,
String type,
Map<String,String> params,
String hash,
boolean hasLegacyTransformers,
List<PrebakeError> prebakeErrors) |
| Constructor and Description |
|---|
DefaultWebResourceAssemblerBuilder(Globals globals) |
DefaultWebResourceAssemblerFactory(Globals globals) |
| Modifier and Type | Method and Description |
|---|---|
Globals |
RequestCache.getGlobals() |
Globals |
RequestState.getGlobals()
Deprecated.
since 5.0.0. There is no replacement. Don't use god objects.
|
| Constructor and Description |
|---|
RequestCache(Globals globals) |
RequestState(Globals globals,
UrlBuildingStrategy urlBuildingStrategy) |
RequestState(Globals globals,
UrlBuildingStrategy urlBuildingStrategy,
boolean autoIncludeFrontendRuntime) |
| Modifier and Type | Method and Description |
|---|---|
protected static Content |
ResourceServingHelpers.applyStaticTransformers(Globals globals,
Resource resource,
Content content,
Map<String,String> params,
String sourceUrl)
Apply Static Transformers to Resource.
|
protected static Content |
ResourceServingHelpers.applyTransformers(Globals globals,
Resource resource,
Content content,
Map<String,String> params,
String sourceUrl)
Apply Transformers to Resource.
|
static String |
ResourceServingHelpers.buildKey(Globals globals,
Resource resource,
Map<String,String> params)
The `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 Resource |
ResourceServingHelpers.getFromOSGiPluginModuleResource(Globals globals,
String completeKeyOrPluginKey,
String resourceName)
Get Resource from an OSGi plugin module.
|
protected static Resource |
ResourceServingHelpers.getPluginResource(Globals globals,
String completeKeyOrPluginKey,
String resourceName)
Get Resource for Plugin.
|
protected static Resource |
ResourceServingHelpers.getResourceRelativeToPlugin(Globals globals,
String completeKeyOrPluginKey,
String resourceName)
Deprecated.
since v3.3.2
|
static Content |
ResourceServingHelpers.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 Content |
ResourceServingHelpers.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 Content |
ResourceServingHelpers.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 Content |
ResourceServingHelpers.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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Controller |
Router.createController(Globals globals,
Request request,
Response response) |
| Constructor and Description |
|---|
Controller(Globals globals,
Request request,
Response response) |
Router(Globals globals) |
Router(Globals globals,
List<BaseRouter.Route> routes,
boolean useAbsoluteUrl)
Needed to support legacy API.
|
| Constructor and Description |
|---|
InitialContentFactory(Globals globals) |
| Modifier and Type | Field and Description |
|---|---|
protected Globals |
BaseController.globals |
protected Globals |
BaseRouter.globals |
| Modifier and Type | Method and Description |
|---|---|
Globals |
Request.getGlobals() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Controller |
BaseRouter.createController(Globals globals,
Request request,
Response response)
Override this method and provide instance of the controller.
|
| Constructor and Description |
|---|
BaseController(Globals globals,
Request request,
Response response) |
BaseRouter(Globals globals) |
BaseRouter(Globals globals,
List<BaseRouter.Route> routes,
boolean useAbsoluteUrl)
Needed to support legacy API.
|
Request(Globals globals,
javax.servlet.http.HttpServletRequest request,
String encoding) |
Request(Globals globals,
String path,
Map<String,String> params) |
| Constructor and Description |
|---|
DefaultResourceDependencyResolver(Globals globals,
WebResourceIntegration webResourceIntegration,
boolean isSuperBatchingEnabled,
List<String> superBatchModuleCompleteKeys) |
| Modifier and Type | Method and Description |
|---|---|
static Content |
CompileTimeTransformer.process(Globals globals,
Resource resource,
Content content)
Deprecated.
|
Copyright © 2024 Atlassian. All rights reserved.