Proxy

abstract class Proxy(underlying: BodyReader) extends BodyReader

Provides a simple way to proxy a BodyReader

Source:
BodyReader.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply(): Future[ByteBuffer]
Definition Classes
Source:
BodyReader.scala
override def discard(): Unit
Definition Classes
Source:
BodyReader.scala
override def isExhausted: Boolean
Definition Classes
Source:
BodyReader.scala

Inherited methods

Accumulate any remaining data.

Accumulate any remaining data.

The remainder of the message body will be accumulated into a single buffer. If no data remains, the ByteBuffer will be empty as defined by ByteBuffer.hasRemaining()

Value parameters:
max

maximum bytes to accumulate before resulting in a failed future with the exception BodyReader.BodyReaderOverflowException.

Inherited from:
BodyReader
Source:
BodyReader.scala