This commit is contained in:
@@ -70,6 +70,8 @@ public abstract class HttpBaseServlet extends HttpServlet {
|
||||
String url();
|
||||
|
||||
String[] methods() default {};//允许方法(不区分大小写),如:GET/POST/PUT,为空表示允许所有方法
|
||||
|
||||
String comment() default ""; //备注描述
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,7 +11,9 @@ import java.lang.annotation.*;
|
||||
* 功能同JSR 315 (java-servlet 3.0) 规范中的 @WebServlet
|
||||
*
|
||||
*
|
||||
* <p> 详情见: http://redkale.org
|
||||
* <p>
|
||||
* 详情见: http://redkale.org
|
||||
*
|
||||
* @author zhangjx
|
||||
*/
|
||||
@Documented
|
||||
@@ -28,4 +30,6 @@ public @interface WebServlet {
|
||||
int moduleid() default 0;
|
||||
|
||||
WebInitParam[] initParams() default {};
|
||||
|
||||
String comment() default ""; //备注描述
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user