Class DefaultArg

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

public class DefaultArg extends Object implements RestOpArg
Resolves method parameters on RestOp-annotated Java methods by retrieving them by type from the REST object bean store.

The parameter value is resolved using:

opSession .getBeanStore() .getBean(type);

This is the default parameter resolver if no other applicable parameter resolvers could be found.

See Also:
  • Constructor Details

    • DefaultArg

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