This commit is contained in:
@@ -43,7 +43,7 @@ public final class Rest {
|
|||||||
EXCLUDERMETHODS.add(m.getName());
|
EXCLUDERMETHODS.add(m.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用于标记由Rest.createRestServlet 方法创建的RestHttpServlet
|
* 用于标记由Rest.createRestServlet 方法创建的RestHttpServlet
|
||||||
*/
|
*/
|
||||||
@@ -1015,7 +1015,6 @@ public final class Rest {
|
|||||||
this.auth = mapping.auth();
|
this.auth = mapping.auth();
|
||||||
this.actionid = mapping.actionid();
|
this.actionid = mapping.actionid();
|
||||||
this.cachetimeout = mapping.cachetimeout();
|
this.cachetimeout = mapping.cachetimeout();
|
||||||
//this.contentType = mapping.contentType();
|
|
||||||
this.comment = mapping.comment();
|
this.comment = mapping.comment();
|
||||||
this.jsvar = mapping.jsvar();
|
this.jsvar = mapping.jsvar();
|
||||||
}
|
}
|
||||||
@@ -1036,7 +1035,6 @@ public final class Rest {
|
|||||||
|
|
||||||
public final int cachetimeout;
|
public final int cachetimeout;
|
||||||
|
|
||||||
//public final String contentType;
|
|
||||||
public final String jsvar;
|
public final String jsvar;
|
||||||
|
|
||||||
@RestMapping()
|
@RestMapping()
|
||||||
|
|||||||
@@ -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
|
* @return name
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user