@ConfigurationProperties(prefix="hawaii.requestLogging") public class RequestResponseLogFilterConfiguration extends LoggingFilterProperties
Constructor and Description |
---|
RequestResponseLogFilterConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAllowedContentTypes()
Getter for the allowed content types.
|
java.lang.String |
getDirectory()
Getter for the logging directory.
|
java.lang.String |
getMaxLogSize()
Getter for the max log size.
|
java.lang.Long |
getMaxLogSizeInBytes()
Get the log size in bytes.
|
boolean |
isFallbackToFile()
Getter for the fallback-to-file flag.
|
void |
setAllowedContentTypes(java.util.List<java.lang.String> allowedContentTypes)
Setter for the allowed content types.
|
void |
setDirectory(java.lang.String directory)
Setter for the logging directory.
|
void |
setFallbackToFile(boolean fallbackToFile)
Setter for the fallback-to-file flag.
|
void |
setMaxLogSize(java.lang.String maxLogSize)
Setter for the max log size.
|
getOrder, isEnabled, setEnabled, setOrder
public RequestResponseLogFilterConfiguration()
public boolean isFallbackToFile()
public void setFallbackToFile(boolean fallbackToFile)
fallbackToFile
- the fallback-to-file flagpublic java.lang.String getDirectory()
public void setDirectory(java.lang.String directory)
directory
- the logging directorypublic java.lang.String getMaxLogSize()
public void setMaxLogSize(java.lang.String maxLogSize)
maxLogSize
- the max log sizepublic java.lang.Long getMaxLogSizeInBytes()
public java.util.List<java.lang.String> getAllowedContentTypes()
public void setAllowedContentTypes(java.util.List<java.lang.String> allowedContentTypes)
allowedContentTypes
- the allowed content types