Class ResponseBeanArg

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

public class ResponseBeanArg extends Object implements 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:

opSession .getResponse() .setOutput(value);

See Also:
  • Constructor Details

    • ResponseBeanArg

      protected ResponseBeanArg(ParamInfo paramInfo, AnnotationWorkList annotations)
      Constructor.
      Parameters:
      paramInfo - The Java method parameter being resolved.
      annotations - The annotations to apply to any new part parsers.
  • Method Details