play.core.server.netty

NettyResultStreamer

object NettyResultStreamer

Streams Play results to Netty

Source
NettyResultStreamer.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NettyResultStreamer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class ChannelStatus extends AnyRef

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. object CloseConnection

    Extractor object that determines whether the result specifies that the connection should be closed

  5. object EndOfBodyInProtocol

    Extractor object that determines whether the end of the body is specified by the protocol

  6. object UsesTransferEncoding

    Extractor object that determines whether the result uses a transfer encoding

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def bufferingIteratee(nettyResponse: HttpResponse, startSequence: Int, closeConnection: Boolean, httpVersion: HttpVersion)(implicit ctx: ChannelHandlerContext, e: OrderedUpstreamMessageEvent): Iteratee[Array[Byte], ChannelStatus]

    An iteratee that buffers the first element from the enumerator, and if it then receives EOF, sends the a result immediately with the body and a content length.

    An iteratee that buffers the first element from the enumerator, and if it then receives EOF, sends the a result immediately with the body and a content length.

    If there is more than one element from the enumerator, it sends the response either as chunked or as a stream that gets closed, depending on whether the protocol is HTTP 1.0 or HTTP 1.1.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createNettyResponse(header: ResponseHeader, closeConnection: Boolean, httpVersion: HttpVersion): DefaultHttpResponse

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

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def nettyStreamIteratee(nettyResponse: HttpResponse, startSequence: Int, closeConnection: Boolean)(implicit ctx: ChannelHandlerContext, e: OrderedUpstreamMessageEvent): Iteratee[Array[Byte], ChannelStatus]

  19. def nextWhenComplete[E, A](future: ChannelFuture, step: (Input[E]) ⇒ Iteratee[E, A], done: A)(implicit ctx: ChannelHandlerContext): Iteratee[E, A]

  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. def sendDownstream(subSequence: Int, last: Boolean, message: AnyRef)(implicit ctx: ChannelHandlerContext, oue: OrderedUpstreamMessageEvent): ChannelFuture

  23. def sendResult(result: Result, closeConnection: Boolean, httpVersion: HttpVersion, startSequence: Int)(implicit ctx: ChannelHandlerContext, oue: OrderedUpstreamMessageEvent): Future[_]

    Send the result to netty

    Send the result to netty

    returns

    A Future that will be redeemed when the result is completely sent

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped