Package play.mvc

Class BodyParser.CompletableBodyParser<A>

java.lang.Object
play.mvc.BodyParser.CompletableBodyParser<A>
All Implemented Interfaces:
BodyParser<A>
Enclosing interface:
BodyParser<A>

public abstract static class BodyParser.CompletableBodyParser<A> extends Object implements BodyParser<A>
A body parser that completes the underlying one.
  • Constructor Details

  • Method Details

    • apply

      Description copied from interface: BodyParser
      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.

      Specified by:
      apply in interface BodyParser<A>
      Parameters:
      request - The request to create the body parser for.
      Returns:
      The accumulator to parse the body.