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

com.github.easilyuse.core.annotation.HttpClient Maven / Gradle / Ivy

The newest version!
package com.github.easilyuse.core.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.github.easilyuse.core.enu.HttpMethod;

/**
 * 
 * 

* Title:HttpClient *

*

* Description: 通过该注解配置远程http调用地址,GET或者POST请求 *

* * @author linyb */ @Target({ ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited public @interface HttpClient { String url(); HttpMethod HTTP_METHOD() default HttpMethod.GET; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy