org.mashupbots.socko.webserver

HttpConfig

case class HttpConfig (maxLengthInMB: Int, maxInitialLineLength: Int, maxHeaderSizeInBytes: Int, maxChunkSizeInBytes: Int, aggreateChunks: Boolean) extends Product with Serializable

HTTP protocol handling configuration

maxLengthInMB

Maximum size of HTTP request in megabytes. Defaults to 4MB.

maxInitialLineLength

Maximum size the initial line. Defaults to 4096 characters.

maxHeaderSizeInBytes

Maximum size of HTTP headers. Defaults to 8192 bytes.

maxChunkSizeInBytes

Maximum size of HTTP chunks. Defaults to 8192 bytes.

aggreateChunks

Flag to indicate if we want to aggregate chunks. If false, your processor actors must be able to handle HttpChunkProcessingContext

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. HttpConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpConfig (config: Config, prefix: String)

    Read configuration from AKKA's application.conf.

    Read configuration from AKKA's application.conf. Supply default values to use if setting not present

  2. new HttpConfig (maxLengthInMB: Int, maxInitialLineLength: Int, maxHeaderSizeInBytes: Int, maxChunkSizeInBytes: Int, aggreateChunks: Boolean)

    maxLengthInMB

    Maximum size of HTTP request in megabytes. Defaults to 4MB.

    maxInitialLineLength

    Maximum size the initial line. Defaults to 4096 characters.

    maxHeaderSizeInBytes

    Maximum size of HTTP headers. Defaults to 8192 bytes.

    maxChunkSizeInBytes

    Maximum size of HTTP chunks. Defaults to 8192 bytes.

    aggreateChunks

    Flag to indicate if we want to aggregate chunks. If false, your processor actors must be able to handle HttpChunkProcessingContext

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val aggreateChunks : Boolean

    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

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def canEqual (arg0: Any): Boolean

    Definition Classes
    HttpConfig → Equals
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    HttpConfig → Equals → AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  14. def hashCode (): Int

    Definition Classes
    HttpConfig → AnyRef → Any
  15. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  16. val maxChunkSizeInBytes : Int

    Maximum size of HTTP chunks.

    Maximum size of HTTP chunks. Defaults to 8192 bytes.

  17. val maxHeaderSizeInBytes : Int

    Maximum size of HTTP headers.

    Maximum size of HTTP headers. Defaults to 8192 bytes.

  18. val maxInitialLineLength : Int

    Maximum size the initial line.

    Maximum size the initial line. Defaults to 4096 characters.

  19. val maxLengthInBytes : Int

  20. val maxLengthInMB : Int

    Maximum size of HTTP request in megabytes.

    Maximum size of HTTP request in megabytes. Defaults to 4MB.

  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def productArity : Int

    Definition Classes
    HttpConfig → Product
  25. def productElement (arg0: Int): Any

    Definition Classes
    HttpConfig → Product
  26. def productIterator : Iterator[Any]

    Definition Classes
    Product
  27. def productPrefix : String

    Definition Classes
    HttpConfig → Product
  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    HttpConfig → AnyRef → Any
  30. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any