diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/RemoteServer.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/RemoteServer.java new file mode 100644 index 00000000..7c619757 --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/RemoteServer.java @@ -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 { +} diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemoteDeleteMethod.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemoteDeleteMethod.java new file mode 100644 index 00000000..6c763eef --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemoteDeleteMethod.java @@ -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(); + +} diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemoteGetMethod.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemoteGetMethod.java new file mode 100644 index 00000000..ff348793 --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemoteGetMethod.java @@ -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(); + +} diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemotePostMethod.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemotePostMethod.java new file mode 100644 index 00000000..5c151f22 --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemotePostMethod.java @@ -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(); + +} diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemotePutMethod.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemotePutMethod.java new file mode 100644 index 00000000..6b2c811e --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/method/RemotePutMethod.java @@ -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(); + +} \ No newline at end of file diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteHeaderParams.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteHeaderParams.java new file mode 100644 index 00000000..2f4df800 --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteHeaderParams.java @@ -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(); + +} diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteJsonBodyParams.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteJsonBodyParams.java new file mode 100644 index 00000000..bca05e37 --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteJsonBodyParams.java @@ -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 { + +} diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemotePathParams.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemotePathParams.java new file mode 100644 index 00000000..1e3b5281 --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemotePathParams.java @@ -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(); + +} diff --git a/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteQueryParams.java b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteQueryParams.java new file mode 100644 index 00000000..c5ed7260 --- /dev/null +++ b/basic-annotation/src/main/java/ink/wgink/annotation/remote/params/RemoteQueryParams.java @@ -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(); + +}