Proxy

abstract class Proxy(underlying: BodyReader) extends BodyReader

Provides a simple way to proxy a BodyReader

class Object
trait Matchable
class Any

Value members

Concrete methods

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

Inherited methods

def accumulate(max: Int): Future[ByteBuffer]

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 Params
max

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

Inherited from
BodyReader