Refactoring, extract abstract spring servlet