Comments (2)
This requires you to create getters for all fields, as well as casting when calling from Kotlin (for SAMs). Not doing this.
from javalin.
As pointed out by the jetbrains guy, you could still do
val app = Javalin.create().apply {
port(0)
staticFileLocation("/public")
embeddedServer(...)
}.start()
now. So we'll stick with that.
from javalin.
Related Issues (20)
- Trial with Gradle BadAss plugin HOT 12
- Javalin fails on JPMS with `module io.javalin does not declare uses`
- [cors] Use JDK'S URI class for origin parsing HOT 1
- Compatibility with Jetty 12 HOT 4
- Explore Jetty-free implementation of resource handler
- Minimize Jetty Coupling HOT 6
- Routing by path and media type? HOT 2
- Empty routeRoles in wsBeforeUpgrade if it is a websocket route HOT 4
- Kotlin code sample incorrect in docs HOT 2
- Request to support Hot Reload of Cipher Suites HOT 14
- is there a way to use own implemented Context ? HOT 1
- The native image fails when running with virtual threads enabled HOT 2
- Switch from dependabot to renovate? HOT 3
- Kotlin ending up in the jar file HOT 3
- `Ws{{Action}}Context` classes do not have a pretty `getUpgradeContext()` method. HOT 3
- Confusing `Ws{{Action}}Context.matchedPath()` functionality
- Errors during `wsBeforeUpgrade` do not invoke the Request Logger HOT 1
- Support for multiple Request Loggers HOT 4
- WebSocket RequestLogger `onUpgrade`
- Define `wsBeforeUpgrade` via WsConfig HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javalin.