juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JUNEAU-49) Support beans as arguments for GET calls using @RemoteableMethod
Date Tue, 30 May 2017 00:51:04 GMT

    [ https://issues.apache.org/jira/browse/JUNEAU-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028686#comment-16028686

ASF GitHub Bot commented on JUNEAU-49:

GitHub user steveblackmon opened a pull request:


    related to JUNEAU-49 and its inclusion via STREAMS-504


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/steveblackmon/incubator-juneau JUNEAU-49

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2
commit f352d5fb9acca53497a59c1743178233967d28e0
Author: Steve Blackmon @steveblackmon <sblackmon@apache.org>
Date:   2017-05-30T00:48:33Z

    related to JUNEAU-49 and its inclusion via STREAMS-504


> 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

View raw message