com.twitter.finagle.httpx

Http

case class Http(_compressionLevel: Int = -1, _maxRequestSize: StorageUnit = ..., _maxResponseSize: StorageUnit = ..., _decompressionEnabled: Boolean = true, _channelBufferUsageTracker: Option[ChannelBufferUsageTracker] = scala.None, _annotateCipherHeader: Option[String] = scala.None, _enableTracing: Boolean = false, _maxInitialLineLength: StorageUnit = ..., _maxHeaderSize: StorageUnit = ..., _streaming: Boolean = false) extends CodecFactory[Request, Response] 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[Request, Response], 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 = ..., _maxResponseSize: StorageUnit = ..., _decompressionEnabled: Boolean = true, _channelBufferUsageTracker: Option[ChannelBufferUsageTracker] = scala.None, _annotateCipherHeader: Option[String] = scala.None, _enableTracing: Boolean = false, _maxInitialLineLength: StorageUnit = ..., _maxHeaderSize: StorageUnit = ..., _streaming: Boolean = false)

    _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[Request, Response]

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

    Definition Classes
    CodecFactory

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. val _annotateCipherHeader: Option[String]

  7. val _channelBufferUsageTracker: Option[ChannelBufferUsageTracker]

  8. 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.

  9. val _decompressionEnabled: Boolean

  10. val _enableTracing: Boolean

  11. val _maxHeaderSize: StorageUnit

  12. val _maxInitialLineLength: StorageUnit

  13. val _maxRequestSize: StorageUnit

  14. val _maxResponseSize: StorageUnit

  15. val _streaming: Boolean

  16. def annotateCipherHeader(headerName: String): Http

  17. final def asInstanceOf[T0]: T0

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

  19. def client: (ClientCodecConfig) ⇒ Codec[Request, Response] { def newClientDispatcher(transport: com.twitter.finagle.transport.Transport[Any,Any]): com.twitter.finagle.httpx.codec.HttpClientDispatcher }

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

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

  22. def decompressionEnabled(yesno: Boolean): Http

  23. def enableTracing(enable: Boolean): Http

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

    Definition Classes
    AnyRef
  25. def finalize(): Unit

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

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

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

  29. def maxInitialLineLength(length: StorageUnit): Http

  30. def maxRequestSize(bufferSize: StorageUnit): Http

  31. def maxResponseSize(bufferSize: StorageUnit): Http

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

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

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

    Definition Classes
    AnyRef
  35. def server: (ServerCodecConfig) ⇒ Codec[Request, Response]

    Definition Classes
    Http → CodecFactory
  36. def streaming(enable: Boolean): Http

  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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[Request, Response]

Inherited from AnyRef

Inherited from Any

Ungrouped