move `processRequest()` from AppKernel to WebApp