Class HawaiiLoggingConfigurationProperties
java.lang.Object
org.hawaiiframework.logging.config.HawaiiLoggingConfigurationProperties
@ConfigurationProperties(prefix="hawaii.logging")
public class HawaiiLoggingConfigurationProperties
extends Object
Properties used by
HawaiiLoggingConfiguration.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.springframework.http.MediaType>Get the allowed content-types.List<org.springframework.http.MediaType>Get the paths to exclude.Get the fields to mask.voidsetAllowedContentTypes(List<org.springframework.http.MediaType> allowedContentTypes) Set the allowed content-types.voidsetBodyExcludedContentTypes(List<org.springframework.http.MediaType> bodyExcludedContentTypes) voidsetExcludePaths(List<PathDefinition> excludePaths) Set the paths to exclude.voidsetFieldsToMask(List<String> fieldsToMask) Set the fields to mask.
-
Field Details
-
CONFIG_PREFIX
Configuration properties prefix.- See Also:
-
-
Constructor Details
-
HawaiiLoggingConfigurationProperties
public HawaiiLoggingConfigurationProperties()
-
-
Method Details
-
getAllowedContentTypes
Get the allowed content-types.- Returns:
- the allowed content-types.
-
setAllowedContentTypes
Set the allowed content-types.- Parameters:
allowedContentTypes- the allowed content-types.
-
getFieldsToMask
Get the fields to mask.- Returns:
- the fields to mask.
-
setFieldsToMask
Set the fields to mask.- Parameters:
fieldsToMask- the fields to mask.
-
getExcludePaths
Get the paths to exclude.- Returns:
- the paths to exclude.
-
setExcludePaths
Set the paths to exclude.- Parameters:
excludePaths- the paths to exclude.
-
getBodyExcludedContentTypes
-
setBodyExcludedContentTypes
public void setBodyExcludedContentTypes(List<org.springframework.http.MediaType> bodyExcludedContentTypes)
-