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
| package tech.powerjob.client.common;
|
| import lombok.Getter;
|
| /**
| * Protocol
| *
| * @author tjq
| * @since 2024/2/20
| */
| @Getter
| public enum Protocol {
|
| HTTP("http"),
|
| HTTPS("https");
|
| private final String protocol;
|
| Protocol(String protocol) {
| this.protocol = protocol;
| }
|
| @Override
| public String toString() {
| return protocol;
| }
| }
|
|