users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Re: Re: VOTE: Filter Interface in JAX-RS 2.0

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Mon, 19 Dec 2011 09:59:47 -0500

On Dec 19, 2011, at 4:57 AM, Sergey Beryozkin wrote:

> Hi Santiago
>
> What are the differences between options 2 & 6 ?

 In (2) we would use different methods to indicate the action: ctx.stop(...), ctx.continue(...). In (6), we should write ctx.setResponse(…) and that would imply stop and return response.

-- Santiago

>
> Thanks, Sergey
>
> On 07/12/11 22:48, Santiago Pericas-Geertsen wrote:
>>
>> On Dec 7, 2011, at 4:30 PM, Bill Burke wrote:
>>
>>> Plus, I don't understand the list you made.
>>>
>>> What is the CPS style? Is that the context.stop(...);?
>>
>> Yes, same ordering as in Sergey's message.
>>
>>>
>>> Personally, I would like #2 + #5, but there's no way to vote on that.
>>
>> I didn't want the number of combinations to explode. Given that you showed dislike for NextAction and CPS and proposed using void, I assumed you meant #2 + #5. What other #5 combination do you want on the list?
>>
>> -- Santiago
>>
>>>
>>> On 12/7/11 4:21 PM, Bill Burke wrote:
>>>> Um, there's a problem as #5 could be used with any of the other proposals.
>>>>
>>>> On 12/7/11 11:03 AM, Santiago Pericas-Geertsen wrote:
>>>>> Hello Experts,
>>>>>
>>>>> Runoff poll set up at:
>>>>>
>>>>> http://www.demochoice.org/dcballot.php?norot=on&poll=jaxrs2
>>>>>
>>>>> Please refer to the filter comparison thread for more info on each of
>>>>> the options. Let's set Dec 16th as the last date to vote on this issue.
>>>>>
>>>>> -- Santiago
>>>>>
>>>>
>>>
>>> --
>>> Bill Burke
>>> JBoss, a division of Red Hat
>>> http://bill.burkecentral.com
>>
>