<?xml version="1.0" encoding="utf-8"?>
<thing name="HttpDo" descriptors="xworker.lang.MetaDescriptor3">
<actions>
<GroovyAction name="httpDo">
<code><![CDATA[def content = """
Hello World!
任何实现了httpDo方法的事物都可以看作是Web应用,本示例就是如此。
Any thing implements httpDo method is a web application.
""";
response.setContentType("text/plain; charset=utf-8");
response.writer.println(content.toString());]]></code>
</GroovyAction>
</actions>
</thing>