com.twitter.finagle.http

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 = ...) 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 = ..., _maxResponseSize: StorageUnit = ..., _decompressionEnabled: Boolean = true, _channelBufferUsageTracker: Option[ChannelBufferUsageTracker] = scala.None, _annotateCipherHeader: Option[String] = scala.None, _enableTracing: Boolean = false, _maxInitialLineLength: StorageUnit = ..., _maxHeaderSize: StorageUnit = ...)

    _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: 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. def annotateCipherHeader(headerName: String): Http

  16. final def asInstanceOf[T0]: T0

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

  18. 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
  19. def clone(): AnyRef

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

  21. def decompressionEnabled(yesno: Boolean): Http

  22. def enableTracing(enable: Boolean): Http

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

    Definition Classes
    AnyRef
  24. def finalize(): Unit

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

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

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

  28. def maxInitialLineLength(length: StorageUnit): Http

  29. def maxRequestSize(bufferSize: StorageUnit): Http

  30. def maxResponseSize(bufferSize: StorageUnit): Http

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

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

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

    Definition Classes
    AnyRef
  34. val protocolLibraryName: String

    Definition Classes
    Http → CodecFactory
  35. def server: (ServerCodecConfig) ⇒ Codec[HttpRequest, HttpResponse]

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. 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