Package play.mvc

Interface BodyParser<A>

    • Method Detail

      • apply

        Accumulator<ByteString,​F.Either<Result,​A>> apply​(Http.RequestHeader request)
        Return an accumulator to parse the body of the given HTTP request.

        The accumulator should either produce a result if an error was encountered, or the parsed body.

        Parameters:
        request - The request to create the body parser for.
        Returns:
        The accumulator to parse the body.