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

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

  7. object EndOfBodyInProtocol

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

  8. object UsesTransferEncoding

    Extractor object that determines whether the result uses a transfer encoding

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. 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.

  11. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

  22. final def notify(): Unit

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

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

  25. def sendResult(result: SimpleResult, 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

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

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped