void doService(HttpServletRequest request, HttpServletResponse response,
ServletContext context, String servletPath)
throws ServletException, IOException {
String moduleName = ModuleProxyUtils.getModuleName(servletPath, modulePrefix);
HttpServlet moduleServlet = null;
if (moduleName != null) {
moduleServlet = ImpalaServletUtils.getModuleServlet(context, moduleName);
if (moduleServlet != null) {
//explicitly go through service method
HttpServletRequest wrappedRequest = wrappedRequest(request, context, moduleName);
moduleServlet.service(wrappedRequest, response);
} else {
logger.warn("No redirection possible for servlet path " + servletPath + ", module name " + moduleName);
}
} else {
logger.warn("Not possible to figure out module name from servlet path " + servletPath);