BodyCaptor

uk.gov.hmrc.play.http.BodyCaptor
object BodyCaptor

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BodyCaptor.type

Members list

Value members

Concrete methods

def bodyUpto(body: ByteString, maxBodyLength: Int): Data[ByteString]
def flow(maxBodyLength: Int, withCapturedBody: (Data[ByteString]) => Unit): Flow[ByteString, ByteString, NotUsed]
def sink(maxBodyLength: Int, withCapturedBody: (Data[ByteString]) => Unit): Sink[ByteString, NotUsed]