@Override
public void getResource(final HttpServletRequest request, final HttpServletResponse response)
throws ServletException, IOException {
// Wrap this, we need an ApplicationContext
new ContextualHttpServletRequest(request) {
@Override
public void process() throws IOException {
doWork(request, response);
}
}.run();