Package org.apache.juneau.rest.arg
Class ReaderParserArg
java.lang.Object
org.apache.juneau.rest.arg.SimpleRestOperationArg
org.apache.juneau.rest.arg.ReaderParserArg
- All Implemented Interfaces:
RestOpArg
Resolves method parameters of type
ReaderParser
on RestOp
-annotated Java methods.
The parameter value is resolved using:
getRequest
()
.getContent
()
.getParserMatch
()
.getParser
();
See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.juneau.rest.arg.SimpleRestOperationArg
resolve
-
Constructor Details
-
ReaderParserArg
protected ReaderParserArg()Constructor.
-
-
Method Details
-
create
Static creator.- Parameters:
paramInfo
- The Java method parameter being resolved.- Returns:
- A new
ReaderParserArg
, ornull if the parameter type is notReaderParser
.
-