Class BootstrapRequestScopeThemeOverrideService

java.lang.Object
com.atlassian.jira.themes.request.BootstrapRequestScopeThemeOverrideService
All Implemented Interfaces:
com.atlassian.theme.internal.api.request.RequestScopeThemeOverrideService

public class BootstrapRequestScopeThemeOverrideService extends Object implements com.atlassian.theme.internal.api.request.RequestScopeThemeOverrideService
Class needed for dark theme switcher. When we want to use RequestScopeThemeOverrideService and sal UserManager is not ready to be loaded, instance of this class is returned
Since:
10.0
  • Constructor Details

    • BootstrapRequestScopeThemeOverrideService

      public BootstrapRequestScopeThemeOverrideService()
  • Method Details

    • setColorModeOverride

      public void setColorModeOverride(@Nonnull javax.servlet.http.HttpServletRequest httpServletRequest, @Nullable String s)
      Specified by:
      setColorModeOverride in interface com.atlassian.theme.internal.api.request.RequestScopeThemeOverrideService
    • setMatchingUserAgentEnabledOverride

      public void setMatchingUserAgentEnabledOverride(@Nonnull javax.servlet.http.HttpServletRequest httpServletRequest, @Nullable Boolean aBoolean)
      Specified by:
      setMatchingUserAgentEnabledOverride in interface com.atlassian.theme.internal.api.request.RequestScopeThemeOverrideService
    • setDarkThemeOverride

      public void setDarkThemeOverride(@Nonnull javax.servlet.http.HttpServletRequest httpServletRequest, @Nullable String s)
      Specified by:
      setDarkThemeOverride in interface com.atlassian.theme.internal.api.request.RequestScopeThemeOverrideService
    • setLightThemeOverride

      public void setLightThemeOverride(@Nonnull javax.servlet.http.HttpServletRequest httpServletRequest, @Nullable String s)
      Specified by:
      setLightThemeOverride in interface com.atlassian.theme.internal.api.request.RequestScopeThemeOverrideService