com.twitter.finagle.http

Http

Related Docs: object Http | package http

case class Http(_compressionLevel: Int = 1, _maxRequestSize: StorageUnit = 5.megabytes, _maxResponseSize: StorageUnit = 5.megabytes, _decompressionEnabled: Boolean = true, _channelBufferUsageTracker: Option[ChannelBufferUsageTracker] = None, _annotateCipherHeader: Option[String] = None, _enableTracing: Boolean = false, _maxInitialLineLength: StorageUnit = 4096.bytes, _maxHeaderSize: StorageUnit = 8192.bytes) extends CodecFactory[HttpRequest, HttpResponse] with Product with Serializable

_compressionLevel

The compression level to use. If passed the default value (-1) then use TextualContentCompressor which will compress text-like content-types with the default compression level (6). Otherwise, use HttpContentCompressor for all content-types with specified compression level.

Linear Supertypes
Serializable, Serializable, Product, Equals, CodecFactory[HttpRequest, HttpResponse], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Http
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CodecFactory
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Http(_compressionLevel: Int = 1, _maxRequestSize: StorageUnit = 5.megabytes, _maxResponseSize: StorageUnit = 5.megabytes, _decompressionEnabled: Boolean = true, _channelBufferUsageTracker: Option[ChannelBufferUsageTracker] = None, _annotateCipherHeader: Option[String] = None, _enableTracing: Boolean = false, _maxInitialLineLength: StorageUnit = 4096.bytes, _maxHeaderSize: StorageUnit = 8192.bytes)

    _compressionLevel

    The compression level to use. If passed the default value (-1) then use TextualContentCompressor which will compress text-like content-types with the default compression level (6). Otherwise, use HttpContentCompressor for all content-types with specified compression level.

Type Members

  1. type Client = (ClientCodecConfig) ⇒ Codec[HttpRequest, HttpResponse]

    Definition Classes
    CodecFactory
  2. type Server = (ServerCodecConfig) ⇒ Codec[HttpRequest, HttpResponse]

    Definition Classes
    CodecFactory

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val _annotateCipherHeader: Option[String]

  5. val _channelBufferUsageTracker: Option[ChannelBufferUsageTracker]

  6. val _compressionLevel: Int

    The compression level to use.

    The compression level to use. If passed the default value (-1) then use TextualContentCompressor which will compress text-like content-types with the default compression level (6). Otherwise, use HttpContentCompressor for all content-types with specified compression level.

  7. val _decompressionEnabled: Boolean

  8. val _enableTracing: Boolean

  9. val _maxHeaderSize: StorageUnit

  10. val _maxInitialLineLength: StorageUnit

  11. val _maxRequestSize: StorageUnit

  12. val _maxResponseSize: StorageUnit

  13. def annotateCipherHeader(headerName: String): Http

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def channelBufferUsageTracker(usageTracker: ChannelBufferUsageTracker): Http

  16. def client: (ClientCodecConfig) ⇒ Codec[HttpRequest, HttpResponse] { def newClientDispatcher(transport: com.twitter.finagle.transport.Transport[Any,Any]): com.twitter.finagle.http.codec.DtabHttpDispatcher }

    Definition Classes
    Http → CodecFactory
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def compressionLevel(level: Int): Http

  19. def decompressionEnabled(yesno: Boolean): Http

  20. def enableTracing(enable: Boolean): Http

  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def maxHeaderSize(size: StorageUnit): Http

  26. def maxInitialLineLength(length: StorageUnit): Http

  27. def maxRequestSize(bufferSize: StorageUnit): Http

  28. def maxResponseSize(bufferSize: StorageUnit): Http

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def server: (ServerCodecConfig) ⇒ Codec[HttpRequest, HttpResponse]

    Definition Classes
    Http → CodecFactory
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CodecFactory[HttpRequest, HttpResponse]

Inherited from AnyRef

Inherited from Any

Ungrouped