Class MacroAsyncRenderWhitelist
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.macro.MacroAsyncRenderWhitelist
Used to determine which macros are safe to render in an async context, e.g. without requiring a page refresh.
- Since:
- 5.6
-
Method Summary
Modifier and TypeMethodDescriptionstatic MacroAsyncRenderWhitelist
static MacroAsyncRenderWhitelist
fromProperties
(Properties properties) static MacroAsyncRenderWhitelist
fromPropertiesResource
(org.springframework.core.io.Resource resource) boolean
isAsyncRenderSafe
(MacroDefinition macroDefinition, Class<? extends Macro> macroClass) boolean
isAsyncRenderSafe
(String macroId, Class<? extends Macro> macroClass)
-
Method Details
-
emptyWhitelist
-
fromPropertiesResource
public static MacroAsyncRenderWhitelist fromPropertiesResource(org.springframework.core.io.Resource resource) -
fromProperties
-
isAsyncRenderSafe
-
isAsyncRenderSafe
public boolean isAsyncRenderSafe(MacroDefinition macroDefinition, Class<? extends Macro> macroClass)
-