jooby
jooby copied to clipboard
The modular web framework for Java and Kotlin
I am using the Pac4jModule which works great, but in my current, simple usage of the module I am using direct basic auth, where the username/password credentials need to be...
The `MessageDecoder` interface provides a `type` parameter, which makes sense since it is impossible to know what to decode into otherwise. The `MessageEncoder`, however, does not have the `type` param....
### Background: I'm completely new to Jooby and the last time I used Java was years ago. I'm pretty unfamiliar with the async http client ecosystem and how the libraries...
For example: ```kotlin data class SomeBean ( val name: String ) class RouterWithDecoder : Kooby({ install(JacksonModule(jacksonObjectMapper())) get("/api/beans") { emptyList() } }) fun main(args: Array) { runApp(args) { mount(RouterWithDecoder()) } }...
I am using the [jte.gg](https://jte.gg) templating engine and it allows your model to be a class, so if I have a class called Model and want to pass this to...
- move away from ASM and byte code generation - generate source code ASM does a good job but it is hard to make changes
The following code will generate valid openapi json file: ```kotlin // an extension method that creates some routes fun Kooby.helloRoute() { get("/hello") { "world" } } fun main(args: Array) {...
Replace Jetty 11. I'm not marking this as break-change due jooby hides all Jetty internals. https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12-java-version
Bumps the dependencies group with 16 updates: | Package | From | To | | --- | --- | --- | | [com.amazonaws:aws-java-sdk-bom](https://github.com/aws/aws-sdk-java) | `1.12.748` | `1.12.753` | | [io.avaje:avaje-jsonb](https://github.com/avaje/avaje-jsonb)...
Task to generate openAPI falls with ```Application class not found. Did you forget to set `mainClassName`?``` But this code works if you pull it into a single-module project. jooby =...