Move servlet mthods to a trait
Define doGet and doPost inside trait - mixin
Traits to interface HttpServletRequest and Response classes
Update the namespace inside the servlet config