Class TobagoConfigImpl
java.lang.Object
org.apache.myfaces.tobago.config.TobagoConfig
org.apache.myfaces.tobago.internal.config.TobagoConfigImpl
Implementation of the Tobago configuration.
All setters must are protected, so EL can't modify this config.
-
Field Summary
Fields inherited from class org.apache.myfaces.tobago.config.TobagoConfig
TOBAGO_CONFIG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAvailableTheme
(ThemeImpl availableTheme) protected void
addSupportedThemeName
(String name) javax.faces.application.ProjectStage
Deprecated.protected void
boolean
boolean
Deprecated.since Tobago 3.0.0boolean
boolean
boolean
boolean
protected void
lock()
Lock the configuration, so it cannot be modified any more.protected void
protected void
setCheckSessionSecret
(boolean checkSessionSecret) protected void
setCreateSessionSecret
(boolean createSessionSecret) void
setDecodeLineFeed
(boolean decodeLineFeed) protected void
setDefaultThemeName
(String defaultThemeName) protected void
setPreventFrameAttacks
(boolean preventFrameAttacks) protected void
setSanitizer
(Sanitizer sanitizer) void
setSecurityAnnotation
(SecurityAnnotation securityAnnotation) protected void
setSetNosniffHeader
(boolean setNosniffHeader) toString()
Methods inherited from class org.apache.myfaces.tobago.config.TobagoConfig
getInstance, getInstance
-
Constructor Details
-
TobagoConfigImpl
protected TobagoConfigImpl()
-
-
Method Details
-
lock
protected void lock()Lock the configuration, so it cannot be modified any more. -
addSupportedThemeName
-
resolveThemes
protected void resolveThemes() -
getTheme
- Specified by:
getTheme
in classTobagoConfig
-
setDefaultThemeName
-
getSupportedThemes
- Specified by:
getSupportedThemes
in classTobagoConfig
-
getDefaultTheme
- Specified by:
getDefaultTheme
in classTobagoConfig
-
addAvailableTheme
-
getAvailableThemes
-
getProjectStage
Deprecated.since 4.0.0, useApplication.getProjectStage()
- Specified by:
getProjectStage
in classTobagoConfig
- Returns:
- the ProjectStage
-
initDefaultValidatorInfo
protected void initDefaultValidatorInfo() -
isCreateSessionSecret
public boolean isCreateSessionSecret()- Specified by:
isCreateSessionSecret
in classTobagoConfig
-
setCreateSessionSecret
protected void setCreateSessionSecret(boolean createSessionSecret) -
isCheckSessionSecret
public boolean isCheckSessionSecret()- Specified by:
isCheckSessionSecret
in classTobagoConfig
-
setCheckSessionSecret
protected void setCheckSessionSecret(boolean checkSessionSecret) -
isPreventFrameAttacks
public boolean isPreventFrameAttacks()- Specified by:
isPreventFrameAttacks
in classTobagoConfig
-
setPreventFrameAttacks
protected void setPreventFrameAttacks(boolean preventFrameAttacks) -
getContentSecurityPolicy
- Specified by:
getContentSecurityPolicy
in classTobagoConfig
-
isSetNosniffHeader
public boolean isSetNosniffHeader()- Specified by:
isSetNosniffHeader
in classTobagoConfig
-
setSetNosniffHeader
protected void setSetNosniffHeader(boolean setNosniffHeader) -
getSecurityAnnotation
- Specified by:
getSecurityAnnotation
in classTobagoConfig
-
setSecurityAnnotation
-
getDefaultValidatorInfo
-
getSanitizer
- Specified by:
getSanitizer
in classTobagoConfig
-
setSanitizer
-
isDecodeLineFeed
public boolean isDecodeLineFeed()- Specified by:
isDecodeLineFeed
in classTobagoConfig
-
setDecodeLineFeed
public void setDecodeLineFeed(boolean decodeLineFeed) -
getMimeTypes
- Specified by:
getMimeTypes
in classTobagoConfig
-
isClassicDateTimePicker
Deprecated.since Tobago 3.0.0- Specified by:
isClassicDateTimePicker
in classTobagoConfig
- Returns:
- false
-
toString
-
Application.getProjectStage()