@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public static @interface BodyParser.Of
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends BodyParser> |
value
The class of the body parser to use.
|
Modifier and Type | Optional Element and Description |
---|---|
long |
maxLength
Deprecated.
maxLength is now ignored. To define the maxLength globally, set
play.http.parser.maxMemoryBuffer and play.http.parser.maxDiskBuffer. To define a custom max length for a
particular action, create a custom body parser, optionally extending one of the existing ones and passing
the max length into their constructors.
|
public abstract java.lang.Class<? extends BodyParser> value
@Deprecated public abstract long maxLength