org.mashupbots.socko.webserver
Read configuration from AKKA's application.conf
.
Read configuration from AKKA's application.conf
. Supply default values to use if setting not present
Maximum size of HTTP request in megabytes. Defaults to 4MB.
Maximum size the initial line. Defaults to 4096 characters.
Maximum size of HTTP headers. Defaults to 8192 bytes.
Maximum size of HTTP chunks. Defaults to 8192 bytes.
Flag to indicate if we want to aggregate chunks. If false
, your processor actors must be
able to handle HttpChunkProcessingContext
Minimum number of bytes before HTTP content will be compressed if requested
by the client. Set to -1
to turn off compression for all files; 0
to make all content compressible.
Maximum number of bytes before HTTP content will be not be compressed if requested by the client. Defaults to 1MB otherwise too much CPU maybe taken up for compression.
List of MIME types of that can be compressed. If not supplied, defaults to HTML, CSS, JSON, XML and Javascript files.
Support SPDY protocol or not. Defaults to false
.
Flag to indicate if we want to aggregate chunks.
Flag to indicate if we want to aggregate chunks. If false
, your processor actors must be
able to handle HttpChunkProcessingContext
List of MIME types of that can be compressed.
List of MIME types of that can be compressed. If not supplied, defaults to HTML, CSS, JSON, XML and Javascript files.
Maximum size of HTTP chunks.
Maximum size of HTTP chunks. Defaults to 8192 bytes.
Maximum number of bytes before HTTP content will be not be compressed if requested by the client.
Maximum number of bytes before HTTP content will be not be compressed if requested by the client. Defaults to 1MB otherwise too much CPU maybe taken up for compression.
Maximum size of HTTP headers.
Maximum size of HTTP headers. Defaults to 8192 bytes.
Maximum size the initial line.
Maximum size the initial line. Defaults to 4096 characters.
Maximum size of HTTP request in megabytes.
Maximum size of HTTP request in megabytes. Defaults to 4MB.
Minimum number of bytes before HTTP content will be compressed if requested by the client.
Minimum number of bytes before HTTP content will be compressed if requested
by the client. Set to -1
to turn off compression for all files; 0
to make all content compressible.
Support SPDY protocol or not.
Support SPDY protocol or not. Defaults to false
.
HTTP protocol handling configuration
HTTP compression parameters only applies to HTTP request and responses and not web sockets.
Maximum size of HTTP request in megabytes. Defaults to 4MB.
Maximum size the initial line. Defaults to 4096 characters.
Maximum size of HTTP headers. Defaults to 8192 bytes.
Maximum size of HTTP chunks. Defaults to 8192 bytes.
Flag to indicate if we want to aggregate chunks. If
false
, your processor actors must be able to handleHttpChunkProcessingContext
Minimum number of bytes before HTTP content will be compressed if requested by the client. Set to
-1
to turn off compression for all files;0
to make all content compressible.Maximum number of bytes before HTTP content will be not be compressed if requested by the client. Defaults to 1MB otherwise too much CPU maybe taken up for compression.
List of MIME types of that can be compressed. If not supplied, defaults to HTML, CSS, JSON, XML and Javascript files.
Support SPDY protocol or not. Defaults to
false
.