com.twitter.finagle.http

Http

case class Http(_compressionLevel: Int, _maxRequestSize: StorageUnit, _maxResponseSize: StorageUnit, _decompressionEnabled: Boolean, _channelBufferUsageTracker: Option[ChannelBufferUsageTracker], _annotateCipherHeader: Option[String], _enableTracing: Boolean, _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 org.jboss.netty.handler.codec.http.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. Hide All
  2. Show all
  1. Http
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CodecFactory
  7. AnyRef
  8. Any
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 org.jboss.netty.handler.codec.http.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 org.jboss.netty.handler.codec.http.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 canEqual(arg0: Any): Boolean

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

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

    Attributes
    protected[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 equals(arg0: Any): Boolean

    Definition Classes
    Http → Equals → AnyRef → Any
  26. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

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

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

  31. def maxInitialLineLength(length: StorageUnit): Http

  32. def maxRequestSize(bufferSize: StorageUnit): Http

  33. def maxResponseSize(bufferSize: StorageUnit): Http

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

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

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

    Definition Classes
    AnyRef
  37. def productArity: Int

    Definition Classes
    Http → Product
  38. def productElement(arg0: Int): Any

    Definition Classes
    Http → Product
  39. def productIterator: Iterator[Any]

    Definition Classes
    Product
  40. def productPrefix: String

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

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

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    Http → AnyRef → Any
  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CodecFactory[HttpRequest, HttpResponse]

Inherited from AnyRef

Inherited from Any