diff --git a/src/main/java/com/loafle/overflow/config/container/ContainerProtocol.java b/src/main/java/com/loafle/overflow/config/container/ContainerProtocol.java new file mode 100644 index 0000000..e2b239a --- /dev/null +++ b/src/main/java/com/loafle/overflow/config/container/ContainerProtocol.java @@ -0,0 +1,12 @@ +package com.loafle.overflow.config.container; + +/** + * ContainerProtocol + */ +public abstract class ContainerProtocol { + public static final String HTTPEntry_Container = "/container"; + + public static final String HTTPRequestHeaderKey_Container_Method = "overFlow-Container-Method"; + public static final String HTTPRequestHeaderKey_Container_Type = "overFlow-Container-Type"; + public static final String HTTPRequestHeaderValue_Container_Method_Connect = "CONNECT"; +} \ No newline at end of file diff --git a/src/main/java/com/loafle/overflow/config/probe/ContainerType.java b/src/main/java/com/loafle/overflow/config/probe/ContainerType.java new file mode 100644 index 0000000..9d00916 --- /dev/null +++ b/src/main/java/com/loafle/overflow/config/probe/ContainerType.java @@ -0,0 +1,15 @@ +package com.loafle.overflow.config.probe; + +public enum ContainerType { + DISCOVERY("DISCOVERY"), + NETWORK("NETWORK"), + GENERNAL("GENERNAL"); + + private String stringValue; + ContainerType(String string) {stringValue = string;} + + @Override + public String toString() { + return stringValue; + } +} \ No newline at end of file