JEP 110 - Violating Naming Convention ?

Rahman USTA rahman.usta.88 at gmail.com
Wed Aug 17 13:12:34 UTC 2016


Hello;

I'm trying the new HTTP/2 Client API. For example I have a sample code
below;

HttpResponse response = HttpRequest
        .create(URI.create("https://istanbul-jug.org"))
        .GET()
        .response();

System.out.println(response.body(HttpResponse.asString()));

It works excepted, however I see that the method name GET is written fully
uppercase. I have never seen this usage yet anywhere in Java. Is that a
right usage in Java?

Thanks.

-- 
Rahman USTA
Istanbul JUG
https://github.com/rahmanusta <http://www.kodcu.com/>


More information about the jdk9-dev mailing list