Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jaxrs-dev] [External] : Re: @Status Annotation?
  • From: Santiago Pericasgeertsen <santiago.pericasgeertsen@xxxxxxxxxx>
  • Date: Thu, 2 Sep 2021 18:27:34 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IVl+/LXiU4RQm6GGCOxBzvSj+8zwdOAGIhdhqBERgTc=; b=O6v0x5ExPOy3Xc4MUsVT3XzwHuzs51oSdYwFFCMyG3Rduj69j9oL/lps/FhdlPRWI4RRJgvS5GS5qH4zrUN+ywcQdVH+AtzL7jAIVn3+XdAQlHis/mIrUf9rMuP0zK4hyBWgD0oEV8uzisM+YqyXa7c8ibBgckSCnSEX/0kIqWi7uasmpHQQPb6KVq7wgGI256ZURsmT2diaRRVxk8tdrRSApv69JWqmvoOgIcPeAm/23R6r2APXBygEOCGU/c95tbqNlJkHXgaPC9PDyerVPBOmNGxTQ55UZrAc5Pxsap4XmUW2woCOUj0dTybmmUBWVz+TCjWhSTJubCvWdHO6Fw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GKMNsfgsp9CXDm920N3YwJo7ZEBaiXnZAqfc9biZUeEibFAv2vQjHnF0tn9+iD+3bb9B40Ia4nukhT9panwx4SX+JQ5n5dyvToXoJ/Hs9LPtB2CfngnL/cVit5n2us45T2pBBeP+RZ6SyIssYcR6zcH12U2uaXax2usjVl4e9PMDBxa1+ou/fPsTvy9rfOasAgLWAsS8vUmE3Q4FLyN0G6AIMwCLRFA3LteH25H5QsTB6qxWSnwRvL0ruLDPcjeoFlutKDMGn2Ke0ZDzEPyfPwi6ou059qsLgarZO+wxK6T0pQkr+s4JmrqH5d41mDXI3/6GAFsi2dydh10g1AHQCg==
  • Delivered-to: jaxrs-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jaxrs-dev/>
  • List-help: <mailto:jaxrs-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jaxrs-dev>, <mailto:jaxrs-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jaxrs-dev>, <mailto:jaxrs-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXoBXpTEAmXehD0EWzlQwFTJOg1auRCv6AgAAFOoA=
  • Thread-topic: [External] : Re: [jaxrs-dev] @Status Annotation?


> On Sep 2, 2021, at 2:08 PM, Reza Rahman <reza_rahman@xxxxxxxxx> wrote:
> 
> Seems like a nice usability enhancement, but probably not a very high priority. I would do it if it is easy.

 My thought exactly. Thanks for the feedback.

— Santiago

> Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.
> 
>> On Sep 2, 2021, at 12:16 PM, Santiago Pericasgeertsen <santiago.pericasgeertsen@xxxxxxxxxx> wrote:
>> 
>> Hi All,
>> 
>> Trying to get some quick feedback before doing anything. 
>> 
>> There are some use cases in which the default status return for a resource method that does not return Response needs to be overridden. For example, a POST request that wants to return 201 instead of 200. Of course, you can fix this by returning a Response, but that may not be ideal in all cases (e.g., tools that do static analysis would prefer to see Foo over Response as return type). I believe some impls already support this.
>> 
>> Shall we try to squeeze this in 3.1?
>> 
>> — Santiago
>> _______________________________________________
>> jaxrs-dev mailing list
>> jaxrs-dev@xxxxxxxxxxx
>> To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jaxrs-dev__;!!ACWV5N9M2RV99hQ!bxuQ6WKrg_Yer0F_937K1JOXda8v2tzzTCm21Zi6tuNIYwBnQjzpYn3pqRN9Hrt4e1Jt28iHVg$ 
> _______________________________________________
> jaxrs-dev mailing list
> jaxrs-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jaxrs-dev__;!!ACWV5N9M2RV99hQ!bxuQ6WKrg_Yer0F_937K1JOXda8v2tzzTCm21Zi6tuNIYwBnQjzpYn3pqRN9Hrt4e1Jt28iHVg$ 


Back to the top