Class PreviewParams

    • Constructor Detail

      • PreviewParams

        public PreviewParams​(Locale defaultLocale)
        Creates a new params instance that read the data from the currently active HTTP request. Must be used only within the Faces Servlet.
        Parameters:
        defaultLocale - Fallback for the locale when none is specified.
    • Method Detail

      • getCharsetName

        public String getCharsetName()
      • getLang

        public Locale getLang()
      • getLangCode

        public String getLangCode()
      • getPersist

        public com.alibaba.fastjson.JSONObject getPersist()
      • getStateName

        public String getStateName()
      • getUserGroupName

        public String getUserGroupName()
      • isDebugTools

        public boolean isDebugTools()
      • isPreview

        public boolean isPreview()
      • isRenderFully

        public boolean isRenderFully()
      • builderFrom

        public static PreviewParams.Builder builderFrom​(PreviewParams previewParams)
        Creates a builder to build PreviewParams and initialize it with the given object.
        Parameters:
        previewParams - to initialize the builder with
        Returns:
        created builder