public class GuiceServletConfig extends GuiceServletContextListener {
private static final Logger log = Logger.getLogger(GuiceServletConfig.class.getName());
@Override
protected Injector getInjector() {
ServletModule servletModule = new ServletModule() {
@Override
protected void configureServlets() {
serveRegex("\\/_wave/.*").with(Buggy.class);
serve("/authSubHandler").with(AuthSubHandler.class);
serve("/getUserInfo").with(GetUserInfo.class);