调整远程调用注解名称

This commit is contained in:
wanggeng 2021-09-19 23:35:47 +08:00
parent f2ff322147
commit 2aaf38f191
9 changed files with 166 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package ink.wgink.annotation.remote;
import java.lang.annotation.*;
/**
* @ClassName: RemoteServer
* @Description: 远程服务
* @Author: wanggeng
* @Date: 2021/9/19 7:38 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface RemoteServer {
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.remote.method;
import java.lang.annotation.*;
/**
* @ClassName: Delete
* @Description: Delete
* @Author: wanggeng
* @Date: 2021/9/19 7:05 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface RemoteDeleteMethod {
String value();
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.remote.method;
import java.lang.annotation.*;
/**
* @ClassName: Get
* @Description:
* @Author: wanggeng
* @Date: 2021/9/19 7:02 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface RemoteGetMethod {
String value();
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.remote.method;
import java.lang.annotation.*;
/**
* @ClassName: Post
* @Description: post
* @Author: wanggeng
* @Date: 2021/9/19 7:03 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface RemotePostMethod {
String value();
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.remote.method;
import java.lang.annotation.*;
/**
* @ClassName: Put
* @Description: Put
* @Author: wanggeng
* @Date: 2021/9/19 7:04 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface RemotePutMethod {
String value();
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.remote.params;
import java.lang.annotation.*;
/**
* @ClassName: Header
* @Description: Header
* @Author: wanggeng
* @Date: 2021/9/19 7:07 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface RemoteHeaderParams {
String value();
}

View File

@ -0,0 +1,17 @@
package ink.wgink.annotation.remote.params;
import java.lang.annotation.*;
/**
* @ClassName: JsonBody
* @Description: JsonBody
* @Author: wanggeng
* @Date: 2021/9/19 7:09 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface RemoteJsonBodyParams {
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.remote.params;
import java.lang.annotation.*;
/**
* @ClassName: Path
* @Description: Path
* @Author: wanggeng
* @Date: 2021/9/19 7:08 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface RemotePathParams {
String value();
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.remote.params;
import java.lang.annotation.*;
/**
* @ClassName: Query
* @Description: Query
* @Author: wanggeng
* @Date: 2021/9/19 7:08 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface RemoteQueryParams {
String value();
}