public interface ConfluenceWebResourceService
This service is meant to replace
ConfluenceWebResourceManager
that implements the now deprecated
WebResourceManager
interface.
Modifier and Type | Interface and Description |
---|---|
static class |
ConfluenceWebResourceService.Style
Style of a page.
|
Modifier and Type | Method and Description |
---|---|
Map<ResourceType,Iterable<String>> |
computeConfluenceResourceUris(com.atlassian.fugue.Option<ConfluenceWebResourceService.Style> style,
com.atlassian.fugue.Option<String> spaceKey)
Computes the resource uris required by the given space.
|
void |
writeConfluenceResourceTags(Writer writer,
ConfluenceWebResourceService.Style style,
String spaceKey)
Write all html resource tags to the given writer.
|
void writeConfluenceResourceTags(@Nonnull Writer writer, @Nullable ConfluenceWebResourceService.Style style, @Nullable String spaceKey)
Internally Web Resources module is used to output most of the resources, with some Confluence theme specific resources added to the mix.
writer
- writer to write the tags tostyle
- style to apply if anyspaceKey
- current space if anyMap<ResourceType,Iterable<String>> computeConfluenceResourceUris(com.atlassian.fugue.Option<ConfluenceWebResourceService.Style> style, com.atlassian.fugue.Option<String> spaceKey)
style
- style to apply, or none() if not displaying an admin page.spaceKey
- current space or none() if not displaying in the context of a spaceCopyright © 2003–2017 Atlassian. All rights reserved.