ing
This commit is contained in:
parent
c24d63c734
commit
df5ed9db65
|
@ -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"),
|
||||
GENERNAL("GENERNAL");
|
||||
|
||||
private String stringValue;
|
||||
ContainerType(String string) {stringValue = string;}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return stringValue;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user