BodyReader

org.http4s.blaze.http.BodyReader
See theBodyReader companion trait
object BodyReader

Attributes

Companion
trait
Source
BodyReader.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BodyReader.type

Members list

Type members

Classlikes

final class BodyReaderOverflowException(val max: Int, val accumulated: Long) extends Exception

Attributes

Source
BodyReader.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
abstract class Proxy(underlying: BodyReader) extends BodyReader

Provides a simple way to proxy a BodyReader

Provides a simple way to proxy a BodyReader

Attributes

Source
BodyReader.scala
Supertypes
trait BodyReader
class Object
trait Matchable
class Any

Value members

Concrete methods

The remainder of the message body will be accumulated into a single buffer.

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()

Attributes

Source
BodyReader.scala

Construct a BodyReader with exactly one chunk of data

Construct a BodyReader with exactly one chunk of data

This method takes ownership if the passed ByteBuffer: any changes to the underlying buffer will be visible to the consumer of this BodyReader and vice versa.

Attributes

Note

if the passed buffer is empty, the EmptyBodyReader is returned.

Source
BodyReader.scala

Concrete fields

The canonical empty BodyReader

The canonical empty BodyReader

This should be the instance you use if you want to signal that the message body is in guaranteed to be empty.

Attributes

Source
BodyReader.scala