类 FixedThemeResolver

    • 方法详细资料

      • resolveThemeName

        public String resolveThemeName​(HttpServletRequest request)
        从接口复制的说明: ThemeResolver
        Resolve the current theme name via the given request. Should return a default theme as fallback in any case.
        参数:
        request - request to be used for resolution
        返回:
        the current theme name
      • setThemeName

        public void setThemeName​(HttpServletRequest request,
                                 HttpServletResponse response,
                                 String themeName)
        从接口复制的说明: ThemeResolver
        Set the current theme name to the given one.
        参数:
        request - request to be used for theme name modification
        response - response to be used for theme name modification
        themeName - the new theme name