BodyDecoder

scamper.http.BodyDecoder
See theBodyDecoder companion object
trait BodyDecoder

Provides access to decoded message body.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def maxLength: Long

Gets maximum length of message body.

Gets maximum length of message body.

Attributes

Concrete methods

def decode(message: HttpMessage): InputStream

Gets decoded message body.

Gets decoded message body.

Value parameters

message

HTTP message

Attributes

Note

The input stream throws ReadLimitExceeded if the decoder reads beyond maxLength of message body.