Package org.apache.juneau.rest.arg
Class ContentArg
java.lang.Object
org.apache.juneau.rest.arg.ContentArg
- All Implemented Interfaces:
- RestOpArg
Resolves method parameters and parameter types annotated with 
Content on RestOp-annotated Java methods.
 The parameter value is resolved using:
   getRequest()
      .getContent()
      .setSchema(as(
 schema is derived from the Content annotation.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ContentArgStatic creator.resolve(RestOpSession opSession) Resolves the parameter object.
- 
Constructor Details- 
ContentArgConstructor.- Parameters:
- paramInfo- The Java method parameter being resolved.
 
 
- 
- 
Method Details- 
createStatic creator.- Parameters:
- paramInfo- The Java method parameter being resolved.
- Returns:
- A new ContentArg, ornull if the parameter is not annotated withContent.
 
- 
resolveDescription copied from interface:RestOpArgResolves the parameter object.
 
-