com.jianggujin.http.support.annotation.JApiXmlResponse Maven / Gradle / Ivy
package com.jianggujin.http.support.annotation;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* API JSON响应,方法返回值不应为从void
*
* @author jianggujin
*
*/
@Retention(RUNTIME)
@Target({ TYPE, METHOD })
public @interface JApiXmlResponse {
/**
* 文本编码,不设置则自动识别
*
* @return
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy