javalin / javalin

A simple and modern Java and Kotlin web framework
https://javalin.io
Apache License 2.0
7.62k stars 579 forks source link

Add ability for custom HTTP methods #2346

Open henryx opened 3 days ago

henryx commented 3 days ago

Describe the feature Currently, apiBuilder permits to create only these HTTP verbs:

At these methods, it can be useful to add the ability to define a custom HTTP verb

Additional context WebDAV extends standard HTTP verbs with a set of custom verbs (like PROPFIND, LOCK, COPY, MOVE...).

Hashicorp Terraform extends HTTP verbs with LOCK and UNLOCK verbs.

Ability to set an HTTP custom verb permit to create webapps that can communicate, for example, with these systems

dzikoysk commented 2 days ago

This is directly related to:

But having official support in-place, we should be able to support it in api builder as well.