Class VelocitySafeRequestScopeThemeService

java.lang.Object
com.atlassian.theme.internal.request.DefaultRequestScopeThemeService
com.atlassian.confluence.themes.request.VelocitySafeRequestScopeThemeService
All Implemented Interfaces:
com.atlassian.theme.api.request.RequestScopeThemeService, com.atlassian.theme.internal.api.request.RequestScopeThemeOverrideService

public class VelocitySafeRequestScopeThemeService extends com.atlassian.theme.internal.request.DefaultRequestScopeThemeService
  • Constructor Summary

    Constructors
    Constructor
    Description
    VelocitySafeRequestScopeThemeService(@NonNull com.atlassian.sal.api.user.UserManager userManager, @NonNull com.atlassian.theme.internal.api.ThemeService themeService, @NonNull com.atlassian.theme.internal.api.user.UserThemeService userThemeService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
    getHtmlAttributesForThisRequest(@NonNull javax.servlet.http.HttpServletRequest httpServletRequest)
     

    Methods inherited from class com.atlassian.theme.internal.request.DefaultRequestScopeThemeService

    getPreferredDarkTheme, getPreferredLightTheme, setColorModeOverride, setDarkThemeOverride, setLightThemeOverride, setMatchingUserAgentEnabledOverride

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VelocitySafeRequestScopeThemeService

      public VelocitySafeRequestScopeThemeService(@NonNull com.atlassian.sal.api.user.UserManager userManager, @NonNull com.atlassian.theme.internal.api.ThemeService themeService, @NonNull com.atlassian.theme.internal.api.user.UserThemeService userThemeService)
  • Method Details

    • getHtmlAttributesForThisRequest

      public @NonNull String getHtmlAttributesForThisRequest(@NonNull javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getHtmlAttributesForThisRequest in interface com.atlassian.theme.api.request.RequestScopeThemeService
      Overrides:
      getHtmlAttributesForThisRequest in class com.atlassian.theme.internal.request.DefaultRequestScopeThemeService