shz.core.net.api.ApiConfig Maven / Gradle / Ivy
package shz.core.net.api;
import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ApiConfig {
String url();
String method() default "GET";
String proxyHost() default "";
int proxyPort() default 0;
boolean doInput() default true;
boolean doOutput() default false;
int ifModifiedSince() default 0;
boolean useCaches() default true;
boolean allowUserInteraction() default false;
int connectTimeoutMills() default 10000;
int readTimeoutMills() default 10000;
int redirects() default -1;
}