@@ -0,0 +1,438 @@
+package cane.brothers.restlet.demo.text;%0A%0Aimport org.restlet.Server;%0Aimport org.restlet.data.Protocol;%0Aimport org.restlet.resource.Get;%0Aimport org.restlet.resource.ServerResource;%0A%0Apublic class DemoStringResource extends ServerResource %7B%0A%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A%09%09new Server(Protocol.HTTP, 8000, DemoStringResource.class).start();%0A%09%7D%0A%0A%09@Get%0A%09public String getString() %7B%0A%09%09return %22Hello, world!%22;%0A%09%7D%0A%0A%7D%0A

add demo with get annotation