const classafBedSheet::ConfigIds
sys::Obj afBedSheet::ConfigIds
Config values as provided by BedSheet. To change their value, override them in your AppModule
. Example:
@Contribute { serviceType=ConfigSource# } static Void configureConfigSource(MappedConfig config) { config.addOverride(ConfigIds.gzipThreshold, "my.gzip.threshold", 500) }
- gzipDisabled
const static Str gzipDisabled := "afBedSheet.gzip.disabled"
If set to
true
then all gzipping is disabled, regardless of other configuration. Defaults tofalse
.- gzipThreshold
const static Str gzipThreshold := "afBedSheet.gzip.threshold"
The minimum output stream size, in bytes, before output is compressed using GZIP. Shorter streams are not compressed. The default is
376
.- pingInterval
const static Str pingInterval := "afBedSheet.appDestroyer.pingInterval"
How often the AppDestroyer pings the proxy to keep the app alive. Defaults to
1sec
.- responseBufferThreshold
const static Str responseBufferThreshold := "afBedSheet.responseBuffer.threshold"
The buffer size (in bytes) of the response OutStream buffer. The buffer is used to automatically set the
Content-Length
response header. Any content larger than the buffer is streamed direct to the client.- welcomePage
const static Str welcomePage := "afBedSheet.welcomePage"
If a request uri of
/
is received it is automatically routed (internally) to this uri. Defaults to/index
, set tonull
to disable.