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 configureApplicationDefaults(MappedConfig conf) {
  conf[ConfigIds.gzipThreshold] = 500
}
corsAllowCredentials

Source

const static Str corsAllowCredentials := "afBedSheet.cors.allowCredentials"

If set to true the Access-Control-Allow-Credentials response header is set. Defaults to false

@see CrossOriginResourceSharingFilter

corsAllowedHeaders

Source

const static Str corsAllowedHeaders := "afBedSheet.cors.allowedHeaders"

A CSV list of http heads the client is allowed to send. (Only required for preflight requests.) Defaults to null.

@see CrossOriginResourceSharingFilter

corsAllowedMethods

Source

const static Str corsAllowedMethods := "afBedSheet.cors.allowedMethods"

A CSV list of http methods the client is allowed to make. (Only required for preflight requests.) Defaults to "GET, POST".

@see CrossOriginResourceSharingFilter

corsAllowedOrigins

Source

const static Str corsAllowedOrigins := "afBedSheet.cors.allowedOrigins"

Fandoc ERRORS:
Line 3 - Invalid *emphasis*

A CSV glob list of all origins (domains) allowed for Cross Origin Resource Sharing.
Defaults to "*" (all domains).
Example, "*.alienfactory.co.uk, *.heroku.com"

@see `CrossOriginResourceSharingFilter`

corsExposeHeaders

Source

const static Str corsExposeHeaders := "afBedSheet.cors.exposeHeaders"

A CSV list of http headers the client application is allowed access to. Defaults to null.

@see CrossOriginResourceSharingFilter

corsMaxAge

Source

const static Str corsMaxAge := "afBedSheet.cors.maxAge"

The max age to tell a client to cache the preflight request for. (Only required for preflight requests.) Defaults to 60min, set to null to disable.

@see CrossOriginResourceSharingFilter

gzipDisabled

Source

const static Str gzipDisabled := "afBedSheet.gzip.disabled"

If set to true then all gzipping is disabled, regardless of other configuration. Defaults to false.

gzipThreshold

Source

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

Source

const static Str pingInterval := "afBedSheet.appDestroyer.pingInterval"

How often the AppDestroyer pings the proxy to keep the app alive. Defaults to 1sec.

responseBufferThreshold

Source

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. Defaults to 8Kb.