@ExperimentalApi public class SuperBatchWebResources extends Object
FormattedBody
. You may need to combine
these resources with the other resources in WebResourceDependencies
to completely render a piece of content.
The uri
field is a map of the ResourceType
to a list of URI of that resource. The
tags
is a map of the ResourceType
to a html string of the tags of those resources as it would have
been rendered in the browser when viewing the content.
Standard expansions mechanisms apply to this object when requested through REST. For example, to get all of the css
tags, use tags.css
as the expansion (prepending any expansions required to reach this object, such as
webresource.superbatch
for the FormattedBody object).
WebResourceDependencies
Modifier and Type | Class and Description |
---|---|
static class |
SuperBatchWebResources.Expansions
Holds the string representable of the expandable fields of
SuperBatchWebResources . |
static class |
SuperBatchWebResources.SuperBatchWebResourcesBuilder
Builder for
SuperBatchWebResources |
Modifier and Type | Method and Description |
---|---|
static SuperBatchWebResources.SuperBatchWebResourcesBuilder |
builder() |
HtmlString |
getMetatags() |
Map<ResourceType,HtmlString> |
getTags() |
Map<ResourceType,List<URI>> |
getUris() |
public static SuperBatchWebResources.SuperBatchWebResourcesBuilder builder()
public Map<ResourceType,List<URI>> getUris()
ResourceType.DATA
, as that type does not have
a uri associated with it.public Map<ResourceType,HtmlString> getTags()
public HtmlString getMetatags()
Copyright © 2003–2018 Atlassian. All rights reserved.