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