Package org.apache.juneau.rest.arg
Class DefaultArg
java.lang.Object
org.apache.juneau.rest.arg.DefaultArg
- All Implemented Interfaces:
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:
getBeanStore()
.getBean(
This is the default parameter resolver if no other applicable parameter resolvers could be found.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultArgcreate(ParameterInfo paramInfo) Static creator.resolve(RestOpSession opSession) Resolves the parameter object.
-
Constructor Details
-
DefaultArg
Constructor.- Parameters:
paramInfo- The Java method parameter being resolved.
-
-
Method Details
-
create
Static creator.- Parameters:
paramInfo- The Java method parameter being resolved.- Returns:
- A new
DefaultArg, nevernull .
-
resolve
Description copied from interface:RestOpArgResolves the parameter object.
-