Replace OkHttp with Methanol in `javalin-testtools` ?
See original GitHub issue@mizosoft seems to have created a nice wrapper around the new HttpClient
in Java 11. Since we are Java 11+, we could get rid of OkHttp, but at the same time, OkHttp is quite nice.
We could also make an interface, and use Methanol as the default. Then people could provide their own OkHttp client if they wanted.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Recipes - OkHttp
We've written some recipes that demonstrate how to solve common problems with OkHttp. Read through them to learn about how everything works together....
Read more >Upgrading to OkHttp 4 - Square Open Source
Java source compatibility is the ability to upgrade Java uses of OkHttp 3.x to 4.x without changing .java files. Kotlin source compatibility is...
Read more >Overview - OkHttp - Square Open Source
OkHttp is an HTTP client that's efficient by default: HTTP/2 support allows all requests to the same host to share a ... Our...
Read more >OkHttpClient - OkHttp - Square Open Source
You can customize a shared OkHttpClient instance with newBuilder. This builds a client that shares the same connection pool, thread pools, and configuration....
Read more >3.x Change Log - OkHttp
This post explains why we're doing this and how to upgrade. The OkHttp 3.12.x branch will be our long-term branch for Android 2.3+...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice, I’ll have a look in the weekend!
As was pointed out by @dzikoysk, a dependency is a dependency, and my quest to get rid of OkHttp might not make too much sense. Let’s reconsider for Javalin 6.