juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Blackmon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JUNEAU-49) Support beans as arguments for GET calls using @RemoteableMethod
Date Sat, 20 May 2017 00:27:04 GMT

     [ https://issues.apache.org/jira/browse/JUNEAU-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Blackmon updated JUNEAU-49:
---------------------------------
    Description: 
The standard use case for wrapping a GET call with query parameters in a rest proxy is to
enumerate each of the possible get params in order and attach @query to each.

However, when the number of possible parameters becomes large and many are optional, the ability
for the proxy to extract multiple params from a bean would make implementation much more readable.

Enable pojo arguments annotated @Query("\*") or @QueryIfNE("\*”) in a method annotated @RemoteableMethod(httpMethod="GET")
to serve as a source for multiple parameters (all query parameters for now)

  was:
The standard use case for wrapping a GET call with query parameters in a rest proxy is to
enumerate each of the possible get params in order and attach @query to each.

However, when the number of possible parameters becomes large and many are optional, the ability
for the proxy to extract multiple params from a bean would make implementation much more readable.

Enable pojo arguments annotated @Query("*") or @QueryIfNE("*”) in a method annotated @RemoteableMethod(httpMethod="GET")
to serve as a source for multiple parameters (all query parameters for now)


> Support beans as arguments for GET calls using @RemoteableMethod
> ----------------------------------------------------------------
>
>                 Key: JUNEAU-49
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-49
>             Project: Juneau
>          Issue Type: Improvement
>            Reporter: Steve Blackmon
>
> The standard use case for wrapping a GET call with query parameters in a rest proxy is
to enumerate each of the possible get params in order and attach @query to each.
> However, when the number of possible parameters becomes large and many are optional,
the ability for the proxy to extract multiple params from a bean would make implementation
much more readable.
> Enable pojo arguments annotated @Query("\*") or @QueryIfNE("\*”) in a method annotated
@RemoteableMethod(httpMethod="GET") to serve as a source for multiple parameters (all query
parameters for now)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message