This commit is contained in:
crusader 2018-05-04 17:09:27 +09:00
parent c24d63c734
commit df5ed9db65
2 changed files with 27 additions and 0 deletions

View File

@ -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";
}

View File

@ -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;
}
}