调整远程调用注解名称
This commit is contained in:
parent
f2ff322147
commit
2aaf38f191
@ -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 {
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user