Package play.mvc

Annotation Interface BodyParser.Of

Enclosing interface:
BodyParser<A>

@Target({TYPE,METHOD}) @Retention(RUNTIME) public static @interface BodyParser.Of
Specify the body parser to use for an Action method.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends BodyParser<?>>
    The class of the body parser to use.
  • Element Details

    • value

      Class<? extends BodyParser<?>> value
      The class of the body parser to use.
      Returns:
      the class