| Modifier and Type | Method and Description |
|---|---|
Globals |
PluginResourceLocator.temporaryWayToGetGlobalsDoNotUseIt()
Deprecated.
since 3.3.2
|
Globals |
PluginResourceLocatorImpl.temporaryWayToGetGlobalsDoNotUseIt()
Deprecated.
|
| Constructor and Description |
|---|
ContextSubBatchResourceUrl(Globals globals,
UrlGenerationHelpers.ContextBatch contextBatch,
UrlGenerationHelpers.SubBatch subBatch,
String type,
Map<String,String> params,
String hash,
boolean hasLegacyTransformers,
List<PrebakeError> prebakeErrors) |
ResourceUrlImpl(Globals globals,
Resource resource,
Map<String,String> params,
String hash,
boolean hasLegacyTransformer,
List<PrebakeError> prebakeErrors) |
WebResourceSubBatchUrl(Globals globals,
String key,
UrlGenerationHelpers.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 | Field and Description |
|---|---|
protected Globals |
RequestState.globals |
protected Globals |
RequestCache.globals |
| Modifier and Type | Method and Description |
|---|---|
Globals |
RequestState.getGlobals() |
Globals |
RequestCache.getGlobals() |
| Constructor and Description |
|---|
RequestCache(Globals globals) |
RequestState(Globals globals,
UrlBuildingStrategy urlBuildingStrategy) |
| 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.getModuleResource(Globals globals,
String completeKeyOrPluginKey,
String resourceName)
Get Resource for non WebResource 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,
com.google.common.base.Supplier<Collection<Resource>> resources,
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected Globals |
BaseRouter.globals |
protected Globals |
BaseController.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) |
Response(Globals globals,
Request request,
javax.servlet.http.HttpServletResponse response) |
| 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) |
Copyright © 2018 Atlassian. All rights reserved.