Package org.apache.juneau.rest.arg
Class FormDataArg
java.lang.Object
org.apache.juneau.rest.arg.FormDataArg
- All Implemented Interfaces:
- RestOpArg
Resolves method parameters and parameter types annotated with 
FormData on RestOp-annotated Java methods.
 The parameter value is resolved using:
   getRequest()
      .getFormParams()
      .get(as(
 schema is derived from the FormData annotation.
 
 If the Schema.collectionFormat() value is HttpPartCollectionFormat.MULTI, then the data type can be a Collection or array.
 
See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedFormDataArg(ParamInfo pi, AnnotationWorkList annotations) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic FormDataArgcreate(ParamInfo paramInfo, AnnotationWorkList annotations) Static creator.resolve(RestOpSession opSession) Resolves the parameter object.
- 
Constructor Details- 
FormDataArgConstructor.- Parameters:
- pi- The Java method parameter being resolved.
- annotations- The annotations to apply to any new part parsers.
 
 
- 
- 
Method Details- 
createStatic creator.- Parameters:
- paramInfo- The Java method parameter being resolved.
- annotations- The annotations to apply to any new part parsers.
- Returns:
- A new FormDataArg, ornull if the parameter is not annotated withFormData.
 
- 
resolveDescription copied from interface:RestOpArgResolves the parameter object.
 
-