Package org.apache.juneau.rest.arg
Class RestRequestArgs
java.lang.Object
org.apache.juneau.rest.arg.SimpleRestOperationArg
org.apache.juneau.rest.arg.RestRequestArgs
- All Implemented Interfaces:
RestOpArg
Resolves method parameters on
RestOp
-annotated Java methods of types found on the RestRequest
object.
HttpServletRequest
HttpPartParserSession
HttpPartSerializerSession
InputStream
Locale
Messages
Reader
RequestAttributes
RequestContent
RequestFormParams
RequestHeaders
RequestPathParams
RequestQueryParams
ResourceBundle
RestRequest
ServletInputStream
Swagger
TimeZone
UriContext
UriResolver
VarResolverSession
See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
RestRequestArgs
(ThrowingFunction<RestRequest, T> function) Constructor. -
Method Summary
Methods inherited from class org.apache.juneau.rest.arg.SimpleRestOperationArg
resolve
-
Constructor Details
-
RestRequestArgs
Constructor.- Type Parameters:
T
- The function return type.- Parameters:
function
- The function for finding the arg.
-
-
Method Details
-
create
Static creator.- Parameters:
paramInfo
- The Java method parameter being resolved.- Returns:
- A new arg, or
null if the parameter type is not one of the supported types.
-