javalin / javalin

A simple and modern Java and Kotlin web framework

Home Page:https://javalin.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Routing by path and media type?

cowwoc opened this issue · comments

Is it possible to route requests to different handlers if their path is identical but their media type differs?

There is no native support in the router for this, you would have to switch on headers manually.

Got it. Thank you.