I’m looking for examples of gzip (de)compression with immutant but not finding anything
you can use http-handler to get an Undertow HttpHandler http://immutant.org/documentation/current/apidoc/immutant.web.undertow.html#var-http-handler
@jcrossley3 thanks I was looking at that, but didn’t see a call to setRootHandler in the immutant codebase so I’m not sure where this interop should happen?
Ha well you answered before I finished typing 🙂
if you can work up a small example, publish it! 🙂
@jcrossley3 I should have mentionned we’re using pedestal, do you think this is still applicable?
in theory, yes. 🙂
Is :context-configurator the correct entry point for this in pedestal?
@jfntn regarding your setRootHandler query, recall that you can pass an HttpHandler to immutant.web/run, so I think you can create the pedestal (ring) handler, turn it into an HttpHandler, wrap it in the gzip handler and then pass it to web/run
@jfntn i don't know about pedestal, but those guys should be able to help you get to its ring handler