Package

com.twitter.finagle

stream

Permalink

package stream

Finagle-stream implements a rather peculiar protocol: it streams discrete messages delineated by HTTP chunks. It isn't how we'd design a protocol to stream messages, but we are stuck with it for legacy reasons.

Finagle-stream sessions are also one-shot: each session handles exactly one stream. The session terminates together with the stream.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. stream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Header extends AnyRef

    Permalink

    HTTP header encoded as a string pair.

  2. trait RequestType[Req] extends AnyRef

    Permalink
  3. class Stream[Req] extends CodecFactory[Req, StreamResponse]

    Permalink
  4. case class StreamRequest(method: Method, uri: String, version: Version = Version(1, 1), headers: Seq[Header] = Nil, body: Buf = Buf.Empty) extends Product with Serializable

    Permalink
  5. trait StreamResponse extends AnyRef

    Permalink
  6. case class Version(major: Int, minor: Int) extends Product with Serializable

    Permalink

    Represents the HTTP version.

Value Members

  1. object EOF extends Exception

    Permalink

    Indicates that a stream has ended.

  2. object Header

    Permalink
  3. object Stream

    Permalink
  4. object StreamRequest extends Serializable

    Permalink
  5. object StreamResponse

    Permalink
  6. implicit val streamRequestType: RequestType[StreamRequest]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped