增加javadoc注释

This commit is contained in:
Redkale
2017-02-27 11:19:40 +08:00
parent 9a29a11e22
commit 2979fcc33d
13 changed files with 282 additions and 37 deletions

View File

@@ -10,7 +10,9 @@ import java.lang.annotation.*;
/**
* 功能同JSR 315 (java-servlet 3.0) 规范中的 @WebInitParam
*
* <p> 详情见: https://redkale.org
* <p>
* 详情见: https://redkale.org
*
* @author zhangjx
*/
@Target({ElementType.TYPE})
@@ -18,9 +20,24 @@ import java.lang.annotation.*;
@Documented
public @interface WebInitParam {
/**
* 参数名
*
* @return String
*/
String name();
/**
* 参数值
*
* @return String
*/
String value();
/**
* 参数描述
*
* @return
*/
String description() default "";
}