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