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

com.github.firelcw.boot.annotation.EasyHttpClient Maven / Gradle / Ivy

The newest version!
package com.github.firelcw.boot.annotation;

import com.github.firelcw.client.AbstractClient;
import com.github.firelcw.codec.Decoder;
import com.github.firelcw.interceptor.HttpInterceptor;

import java.lang.annotation.*;

/**
 * @author liaochongwei
 * @date 2020/8/4 14:57
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface EasyHttpClient {
    /**
     * @return 客户端名称
     */
    String value() default "";
    /**
     * @return 拦截器
     */
    Class[] interceptors() default {};
    /**
     *
     * @return 解码器类型
     */
    Class decoder() default Decoder.class;

    /**
     * @return 请求客户端类型
     */
    Class client() default AbstractClient.class;



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy