bootique / bootique-jetty

Provides Jetty integration with Bootique

Home Page:https://bootique.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support "classpath:" URLs for "resourceBase" of static servlets

andrus opened this issue · comments

jetty.staticResourceBase can be a Bootique classpath: URL. At the same time jetty.servlets.abc.params.resourceBase can not (as it is a servlet parameter not managed by Bootique) This makes it impossible to map classpath based per-servlet doc roots (https://bootique.io/docs/latest/bootique-jetty-docs/#serving-static-files).

We need to subclass Jetty DefaultServlet with our own version that recognizes "classpath:" resource base.