@Override public void init(AtmosphereConfig config) throws ServletException { this.config = config; try { loadWebApplication(config.getServletConfig()); } catch (Exception ex) { throw new ServletException(ex); } filterChain.setServlet(config.getServletConfig(), servlet); wrapper.init(config.getServletConfig()); }
.loadClass(servletClass).newInstance(); filterChain.setServlet(sc, servlet);