Class SlardarRemoteProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = SlardarRemoteProp.Key) public class SlardarRemoteProp
- Since:
2021-02-14
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic Map<String, String>innerIppublic final static StringKey$innerIppublic Map<String, String>ipHeaderpublic final static StringKey$ipHeaderpublic Map<String, String>agentHeaderpublic final static StringKey$agentHeader
-
Constructor Summary
Constructors Constructor Description SlardarRemoteProp()
-
Method Summary
Modifier and Type Method Description Map<String, String>getInnerIp()intranet segments not considered as remote ip voidsetInnerIp(Map<String, String> innerIp)intranet segments not considered as remote ip Map<String, String>getIpHeader()which header to get the real ip when behind proxy. voidsetIpHeader(Map<String, String> ipHeader)which header to get the real ip when behind proxy. Map<String, String>getAgentHeader()which headers (use all) to get device info. voidsetAgentHeader(Map<String, String> agentHeader)which headers (use all) to get device info. booleanequals(@Nullable() Object o)inthashCode()StringtoString()-
-
Method Detail
-
getInnerIp
Map<String, String> getInnerIp()
intranet segments not considered as remote ip
-
setInnerIp
void setInnerIp(Map<String, String> innerIp)
intranet segments not considered as remote ip
-
getIpHeader
Map<String, String> getIpHeader()
which header to get the real ip when behind proxy.
-
setIpHeader
void setIpHeader(Map<String, String> ipHeader)
which header to get the real ip when behind proxy.
-
getAgentHeader
Map<String, String> getAgentHeader()
which headers (use all) to get device info.
-
setAgentHeader
void setAgentHeader(Map<String, String> agentHeader)
which headers (use all) to get device info.
-
hashCode
int hashCode()
-
-
-
-