From df5ed9db6569c35cf88ca9a2247c05e7c9ac3a23 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 4 May 2018 17:09:27 +0900 Subject: [PATCH] ing --- .../config/container/ContainerProtocol.java | 12 ++++++++++++ .../overflow/config/probe/ContainerType.java | 15 +++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/main/java/com/loafle/overflow/config/container/ContainerProtocol.java create mode 100644 src/main/java/com/loafle/overflow/config/probe/ContainerType.java 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