guardian/guardian-management — pull request #1 by daithiocrualaoich (2012-03-05 17:52:36+00:00)
Title: Unpick Servlet API from core management library 

@tackley for the most part, comments welcome from everybody as this is a bit tricky.

A preliminary step to adding Play management support is to detach the Servlet API interface that is presently used.

This is a real struggle... The management library is relatively Servlet API agnostic and javax.serlvet does come out of the management package leaving the Http.scala interfaces. Unfortunately, the HttpServletResponse extraction needs a saw and the mess is unpleasant.

* It's `HttpRequest` for `HttpServletRequest` and `HttpResponse` for `HttpServletResponse`.
* abstract classes are traited because we can.
* naturally a new subproject and a bunch of moves.
* com.gu.management in management-servlet gets a package object with plenty of Serlvet API pimps to sharpen the writing in business logic.
* `BodyCachingRequestWrapper` gets some special attention to clean up.