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 MacroAsyncRenderWhiteliststatic MacroAsyncRenderWhitelistfromProperties(Properties properties) static MacroAsyncRenderWhitelistfromPropertiesResource(org.springframework.core.io.Resource resource) booleanisAsyncRenderSafe(MacroDefinition macroDefinition, Class<? extends Macro> macroClass) booleanisAsyncRenderSafe(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)
-