If using jetty you can also use the jetty api to add a handler to service static files.
So I'm looking at doing this. I think I worked out how to create a Jetty ContextHandler and associated ResourceHandler. But I'm not totally sure how to set these. I can get the JettyHttpComponent using restConfiguration().component("jetty") but in JettyHttpComponent the methods the deal with the handlers are protected. Seems like this has to be done through the endpoint (using the endpointProperty(String, String) method in the REST DSL, which only allows setting it as a comma separated list of values that are present in the registry. Is this on the right lines, or am I missing something simpler? Tim