import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.*;
import java.net.URI;
import java.net.URISyntaxException;
import java.sql.*;
import detector.*;

public class Main extends HttpServlet {
/*  @Override
  protected void doGet(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {

    if (req.getRequestURI().endsWith("/other")) {
      //showOther(req,resp);
    } else {
      //showHome(req,resp);
    }
  }*/

  @Override
  protected void doPost(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {

        try {
          Thread.sleep(4000);
        } catch (InterruptedException e) {

        }
        
        String score = ScoreDetector.parseReviews("asd");

        resp.getWriter().print(score);
    /*if (req.getRequestURI().endsWith("/other")) {
      //showOther(req,resp);
    } else {
      //showHome(req,resp);
    }*/
  }

/*  private void showHome(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {
    resp.getWriter().print("Hello from Java!");
  }
  
  private void showOther(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {
    resp.getWriter().print("Hello from Other!");
  }*/


  public static void main(String[] args) throws Exception {
    Server server = new Server(Integer.valueOf(System.getenv("PORT")));
    ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
    context.setContextPath("/");
    server.setHandler(context);
    context.addServlet(new ServletHolder(new Main()),"/*");
    server.start();
    server.join();
  }
}

@@ -707,16 +707,18 @@
         
+/*
 try %7B%0A  
@@ -798,16 +798,18 @@
        %7D
+*/
 %0A       

Remove thread pause