Package org.apache.juneau.rest.arg
Class ResponseBeanArg
java.lang.Object
org.apache.juneau.rest.arg.ResponseBeanArg
- All Implemented Interfaces:
- RestOpArg
Resolves method parameters and parameter types annotated with 
Response on RestOp-annotated Java methods.
 
 The parameter value must be of type Value that accepts a value that is then set via:
 
   getResponse()
      .setOutput(
See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedResponseBeanArg(ParamInfo paramInfo, AnnotationWorkList annotations) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ResponseBeanArgcreate(ParamInfo paramInfo, AnnotationWorkList annotations) Static creator.resolve(RestOpSession opSession) Resolves the parameter object.
- 
Constructor Details- 
ResponseBeanArgConstructor.- Parameters:
- paramInfo- 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 ResponseBeanArg, ornull if the parameter is not annotated withResponse.
 
- 
resolveDescription copied from interface:RestOpArgResolves the parameter object.
 
-