decebals/pippo — pull request #23 by gitblit (2014-11-29 01:02:53+00:00)
Title: Pippo Webjars support

I have a working implementation of a handler for WebJars & Public classpath resources. This PR satisfies #4 and #5. I considered hacking this into PippoFilter but decided that was not a very elegant solution so instead I implemented a new kind of controller with the appropriate Application registration method.

As a precursor for the Webjar & Public classpath resource serving I harvested the parameter regex snippets from Ninja to have more powerful parameter matching. I'm not sure how invested you are to the `:parameter` notation.

After getting the classpath resource handler working I added in adaptations of the Ninja Mimetype & Cache toolkit to provide the correct GET behavior and to automatically handle the Last-Modified stamping to avoid asset re-downloads.