com.jianggujin.http.support.annotation.JApiFileResponse 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.io.File;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* API文件响应,方法返回值为{@link File}
*
* @author jianggujin
*
*/
@Retention(RUNTIME)
@Target({ TYPE, METHOD })
public @interface JApiFileResponse {
/**
* 文本路径,不设置则创建临时文件
*
* @return
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy