juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (JUNEAU-64) Support advanced annotated variables on methods implementing onPreCall and onPostCall
Date Sun, 27 Aug 2017 22:32:00 GMT

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

James Bognar closed JUNEAU-64.
------------------------------
       Resolution: Fixed
         Assignee: James Bognar
    Fix Version/s: 6.3.2

> Support advanced annotated variables on methods implementing onPreCall and onPostCall
> -------------------------------------------------------------------------------------
>
>                 Key: JUNEAU-64
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-64
>             Project: Juneau
>          Issue Type: Improvement
>            Reporter: Steve Blackmon
>            Assignee: James Bognar
>             Fix For: 6.3.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When building Resources, the arguments bound on methods with RestMethod annotations is
very customizable and robust.  By contrast, overriding onPreCall and onPostCall on those resources
you are back to interacting only with the RestRequest object.
> Would it be possible to provide implementations of onPreCall and onPostCall using annotations
on methods?  perhaps @RestMethodPreCall and @RestMethodPostCall... or re-use @RestMethod but
use one or more fields to denote which phase of the Rest call life-cycle that method ties
to.
> The main benefit to this would be ability to utilize org.apache.juneau.rest.annotation.*
to decorate the parameters of these methods.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message