Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
de345bdf81
|
@ -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";
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
package com.loafle.overflow.config.probe;
|
||||||
|
|
||||||
|
public enum ContainerType {
|
||||||
|
DISCOVERY("DISCOVERY"),
|
||||||
|
NETWORK("NETWORK"),
|
||||||
|
GENERAL("GENERAL");
|
||||||
|
|
||||||
|
private String stringValue;
|
||||||
|
ContainerType(String string) {stringValue = string;}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return stringValue;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user