Class AttributeArg

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

public class AttributeArg extends Object implements RestOpArg
Resolves method parameters and parameter types annotated with Attr on RestOp-annotated Java methods.

The parameter value is resolved using:

opSession .getRequest() .getAttributes() .get(name) .as(type);

See Also:
  • Constructor Details

    • AttributeArg

      protected AttributeArg(ParamInfo paramInfo)
      Constructor.
      Parameters:
      paramInfo - The Java method parameter being resolved.
  • Method Details