All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shz.core.net.api.ApiConfig Maven / Gradle / Ivy

There is a newer version: 2024.0.2
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy