Open magicprinc opened 11 months ago
Or does Vert.x has anything close to HttpUrl?
No, I don't believe it has.
This is the way you should improve your UriTemplate.
Perhaps can you make a short list of specific improvements requests to the uri template project?
I have attached two links. They have amazing description of HttpUrl. I can't do better. Just copy as much as you can.
It must be in the JDK actually (as Lombok, as many classes from vertx, etc), but JDK team doesn't have a real/true issue tracker for mortals 🤷♀️ URL and URI are very basic and buggy.
Spring has UriComponentsBuilder, but Spring team doesn't have the style (if you see AbstractAnnotationConfigDispatcherServletInitializer
you know what I mean).
The same reason: Why does Quarkus exist if we already have Spring.
What I miss in Vert.x is URL parsing and manipulation class similar to OkHttp's HttpUrl
https://medium.com/square-corner-blog/okhttps-new-url-class-515460eea661 https://square.github.io/okhttp/5.x/okhttp/okhttp3/-http-url/index.html
It is far ahead of the competition.
This is the way you should improve your UriTemplate.
Or does Vert.x has anything close to HttpUrl?
PS: I still use HttpUrl, but it is a bit awkward, to have okhttp.jar, okio.jar and kotlin.jars only because of one class...