Is there a way to add a filter/interceptor to static resources served from META-INF/resources
?
I seem have tried all the possible options: @ServerResponseFilter
, ContainerResponseFilter
,WriterInterceptor
however all these functions are called only for @Path
or @Route
...
Is there anything similar to @RouteFilter but for response?
There seem to be nothing built-in to modify the response of a static content for now but nothing stops you from serving content in a dynamic way: