This commit is contained in:
Redkale
2016-12-25 15:47:46 +08:00
parent ce2279030d
commit af0726cd79
2 changed files with 2 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ public final class Rest {
EXCLUDERMETHODS.add(m.getName());
}
}
/**
* 用于标记由Rest.createRestServlet 方法创建的RestHttpServlet
*/
@@ -1015,7 +1015,6 @@ public final class Rest {
this.auth = mapping.auth();
this.actionid = mapping.actionid();
this.cachetimeout = mapping.cachetimeout();
//this.contentType = mapping.contentType();
this.comment = mapping.comment();
this.jsvar = mapping.jsvar();
}
@@ -1036,7 +1035,6 @@ public final class Rest {
public final int cachetimeout;
//public final String contentType;
public final String jsvar;
@RestMapping()

View File

@@ -28,7 +28,7 @@ public @interface RestMapping {
/**
* 请求的方法名, 不能含特殊字符
* 默认为方法名的小写(若方法名以createXXX、updateXXX、deleteXXX、queryXXX、findXXX且XXXService为Service的类名将只截取XXX之前)
* 默认为方法名的小写(若方法名以createXXX、updateXXX、deleteXXX、queryXXX、findXXX、existsXXX且XXXService为Service的类名将只截取XXX之前)
*
* @return name
*/