1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| package tech.powerjob.remote.framework.base;
|
| import lombok.Getter;
| import lombok.Setter;
| import lombok.ToString;
| import lombok.experimental.Accessors;
|
| import java.io.Serializable;
|
| /**
| * handler location
| *
| * @author tjq
| * @since 2022/12/31
| */
| @Getter
| @Setter
| @ToString
| @Accessors(chain = true)
| public class HandlerLocation implements Serializable {
| /**
| * 根路径
| */
| private String rootPath;
| /**
| * 方法路径
| */
| private String methodPath;
|
| public String toPath() {
| return String.format("/%s/%s", rootPath, methodPath);
| }
| }
|
|