call.setOutput(new StringRepresentation("Hello World!"));
call.setOutput("Hello World!", MediaType.TEXT_PLAIN);
   public static void main(String[] args)   {      try      {         // Creating a minimal Restlet returning "Hello World"         Restlet handler = new Restlet()         {            public void handleGet(Call call)            {               call.setOutput(new StringRepresentation("Hello World!"));            }         };         // Create the HTTP server and listen on port 8182         new Server(Protocol.HTTP, 8182, handler).start();      }      catch(Exception e)      {         e.printStackTrace();      }   }