Class HasFormDataArg

java.lang.Object
org.apache.juneau.rest.arg.HasFormDataArg
All Implemented Interfaces:
RestOpArg

public class HasFormDataArg extends Object implements RestOpArg
Resolves method parameters annotated with HasFormData on RestOp-annotated Java methods.

The parameter value is resolved using:

opSession .getRequest() .getFormParams() .contains(name);

The parameter type can be a boolean or anything convertible from a boolean.

See Also: