JEP 110 - Violating Naming Convention ?

Simone Bordet simone.bordet at gmail.com
Wed Aug 17 14:04:33 UTC 2016


Hi,

On Wed, Aug 17, 2016 at 3:51 PM, Rahman USTA <rahman.usta.88 at gmail.com> wrote:
> Thank you Pavel, this uncommon usage looks to me very weird.

The GET() method is a shortcut to send the request with the HTTP "GET"
method, hence the upper case.
Equivalent to request.method("GET").

It's not a classic getter method, and the uppercase allows people to
quickly identify that is different.

-- 
Simone Bordet
http://bordet.blogspot.com
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz


More information about the net-dev mailing list