@Override
    public void process(Socket acceptedSocket)
    {
        BufferedReader inFromClient = null;
        try
        {
            inFromClient = new BufferedReader(new InputStreamReader(acceptedSocket.getInputStream()));
            DataOutputStream outToClient = new DataOutputStream(acceptedSocket.getOutputStream());

            StringBuilder data = new StringBuilder();
            data.append(inFromClient.readLine());
            String output = "Thread" + Thread.currentThread() +
                                    " processed :" + data.toString();
            outToClient.writeBytes(output);
            outToClient.close();
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }