<@U8RMYTB5L> you can easily mount an http4k app al...
# http4k
d
@David Hamilton you can easily mount an http4k app alongside another servlet using the HttpHandler.asServlet() extension function. If you look at the
Jetty
object you can see the pattern for how this can be done using an embedded Jetty backend
d
Thanks for the reply, but I think what I'm trying to do is the other way around - i.e. wrap a HTTP4K handler around a third-party servlet.
d
we don't have a way to do that - the methods don't exist to create the marshall the request from http4k -> Servlet. you could use the example in asServlet to write the reverse
d
Thank you - yes, I realise that I'm swimming against the tide here: it's all telling me that there are better approaches!