Javalin 3.0 wishlist/discussion
See original GitHub issueThis issue is for suggesting breaking changes.
I have one main thing on the list for Javalin 3, which is making it easier to create a JavalinServlet
for use outside of Jetty. This means creating a separation between the server and the servlet (currently everything is lumped together in the Javalin
class). It would be nice if this could support static files and file uploads.
This might make the initial setup slightly harder for the people who use Javalin with jetty (99%?), so we have to be very careful.
JavalinServlet
could be released as a separate dependency, javalin-servlet
, which javalin
depends on.
Should also consider:
- Rewrite to Java (sadly, Kotlin interop isn’t as good as we thought)
- Interfaces for testing
- Reconsider plugin architecture. Currently they’re singletons (
JavalinJson
,JavalinRenderer
). Maybe they should be put on theapp
. - Remove case-insensitive path matching ?
- Do something about config? (ref #508)
- Do something about WsSession (also vs Context?)
- ~Rework casting and validation~ (DONE)
- Javalin logger to easily disable built in logging (in case people are building a framework on top?)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:28 (14 by maintainers)
Top Results From Across the Web
Javalin 3.0 wishlist/discussion · Issue #459 - GitHub
This means creating a separation between the server and the servlet (currently everything is lumped together in the Javalin class). It would be ......
Read more >Archive - v3 documentation - Javalin - A lightweight Java and ...
Javalin - A lightweight Java and Kotlin web framework. Create REST APIs in Java or Kotlin easily.
Read more >Javalin (Javalin 3.0.0 API) - javadoc.io
Creates a new instance without any custom configuration. static Javalin · create(java.util.function.Consumer<JavalinConfig> config). Creates a new ...
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
Rewrite to Java (sadly, Kotlin interop isn't as good as we thought)
I know. Kotlin + Java causes issues when wanting Javadocs or documentation overall. So that will be nice.