@Override
    public void run()
    {
        executor = Executors.newCachedThreadPool();
        try
        {
            InetSocketAddress addr = new InetSocketAddress(8080);
            HttpServer server = HttpServer.create(addr, 0);
            server.createContext("/", new HandleHttpClientRequest());
            server.setExecutor(executor);
            server.start();
            System.out.println("Server is listening on port 8080");
        }
        catch(IOException ex)
        {
            Logger.getLogger(RunServer.class.getName()).log(Level.SEVERE, null, ex);
        }
    }