package yanagishima.module;

import yanagishima.servlet.FormatSqlServlet;
import yanagishima.servlet.KillServlet;
import yanagishima.servlet.PrestoServlet;
import yanagishima.servlet.QueryServlet;

import com.google.inject.servlet.ServletModule;

public class PrestoServletModule extends ServletModule {
	@Override
	protected void configureServlets() {
		bind(PrestoServlet.class);
		bind(QueryServlet.class);
		bind(KillServlet.class);

		serve("/presto").with(PrestoServlet.class);
		serve("/query").with(QueryServlet.class);
		serve("/kill").with(KillServlet.class);
		serve("/format").with(FormatSqlServlet.class);

	}
}

@@ -429,16 +429,48 @@
 .class);
+%0A%09%09bind(FormatSqlServlet.class);
 %0A%0A%09%09serv

add FormatSqlServlet bind