From 0ff4b2eefb690fb661ecdb46eb2c7529ba942712 Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Sun, 3 Jul 2016 09:03:16 +0800 Subject: [PATCH] --- plugin_rest.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_rest.html b/plugin_rest.html index fe39a87d8..b2ea84684 100644 --- a/plugin_rest.html +++ b/plugin_rest.html @@ -46,11 +46,11 @@ REST的核心配置项 base: REST服务的BaseServlet,必须是 org.redkalex.rest.RestHttpServlet 的子类,该属性值没有默认值,必须指定。 autoload:默认值"true" 默认值. 加载当前server所能使用的Servce对象; - mustsign:默认值"true" 是否只加载标记为RestController的Service类,默认值为true + mustsign:默认值"false" 是否只加载标记为RestController的Service类,默认加载所有可用Service includes:当autoload="true", 拉取类名与includes中的正则表达式匹配的类, 多个正则表达式用分号;隔开 excludes:当autoload="true", 排除类名与excludes中的正则表达式匹配的类, 多个正则表达式用分号;隔开 --> - <rest base="org.redkalex.test.rest.SimpleRestServlet" mustsign="true" autoload="true" includes="" excludes=""> + <rest base="org.redkalex.test.rest.SimpleRestServlet" mustsign="false" autoload="true" includes="" excludes=""> <!-- value: Service类名,列出的表示必须被加载的Service对象, 且对象的Resource资源名称只能是""。 -->