com.jianggujin.http.support.annotation.JApiTextResponse 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文本响应,方法返回值为{@link String}
*
* @author jianggujin
*
*/
@Retention(RUNTIME)
@Target({ TYPE, METHOD })
public @interface JApiTextResponse {
/**
* 文本编码,不设置则自动识别
*
* @return
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy