Package swiss.trustbroker.config.dto
Class Support
java.lang.Object
swiss.trustbroker.config.dto.Support
Support configuration.
- Since:
- 1.7.0
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Support.SupportBuilderbuilder()protected booleanbooleanList of IP regexp rules matched against the IP address received from perimeter or socket e.g.Network header if present checked against the configured regexp e.g.Value of the cookie or header signaling debug ON e.g.HTTP cookie or header name identifying the debug session.getLevel()Logger names handle on a higher level than the default logging.logger level.intConfigure in-memory limits so network traffic cannot crash pods.Extends debug support with web message dumping on configured servlet pathinthashCode()booleanFeature flagvoidsetAllowedClientIps(List<String> allowedClientIps) List of IP regexp rules matched against the IP address received from perimeter or socket e.g.voidsetAllowedNetworks(String allowedNetworks) Network header if present checked against the configured regexp e.g.voidsetDebugEnabledValue(String debugEnabledValue) Value of the cookie or header signaling debug ON e.g.voidsetDebugMarkerName(String debugMarkerName) HTTP cookie or header name identifying the debug session.voidsetEnabled(boolean enabled) Feature flagvoidLogger names handle on a higher level than the default logging.logger level.voidsetMemoryLimitBytes(int memoryLimitBytes) Configure in-memory limits so network traffic cannot crash pods.voidsetWebDumpPathRegEx(String webDumpPathRegEx) Extends debug support with web message dumping on configured servlet pathtoString()
-
Constructor Details
-
Support
public Support() -
Support
public Support(boolean enabled, String webDumpPathRegEx, String debugMarkerName, String debugEnabledValue, String allowedNetworks, List<String> allowedClientIps, Map<String, String> level, int memoryLimitBytes) Creates a newSupportinstance.- Parameters:
enabled- Feature flagwebDumpPathRegEx- Extends debug support with web message dumping on configured servlet pathdebugMarkerName- HTTP cookie or header name identifying the debug session.debugEnabledValue- Value of the cookie or header signaling debug ON e.g. 'true'allowedNetworks- Network header if present checked against the configured regexp e.g. 'INTRANET|INTERNET'allowedClientIps- List of IP regexp rules matched against the IP address received from perimeter or socket e.g. '192\.168\..*'level- Logger names handle on a higher level than the default logging.logger level.memoryLimitBytes- Configure in-memory limits so network traffic cannot crash pods.- Since:
- 1.13.0, 1.15.0
-
-
Method Details
-
builder
-
isEnabled
public boolean isEnabled()Feature flag -
getWebDumpPathRegEx
Extends debug support with web message dumping on configured servlet path- Since:
- 1.13.0
-
getDebugMarkerName
HTTP cookie or header name identifying the debug session. -
getDebugEnabledValue
Value of the cookie or header signaling debug ON e.g. 'true' -
getAllowedNetworks
Network header if present checked against the configured regexp e.g. 'INTRANET|INTERNET' -
getAllowedClientIps
List of IP regexp rules matched against the IP address received from perimeter or socket e.g. '192\.168\..*' -
getLevel
Logger names handle on a higher level than the default logging.logger level. -
getMemoryLimitBytes
public int getMemoryLimitBytes()Configure in-memory limits so network traffic cannot crash pods.- Since:
- 1.15.0
-
setEnabled
public void setEnabled(boolean enabled) Feature flag -
setWebDumpPathRegEx
Extends debug support with web message dumping on configured servlet path- Since:
- 1.13.0
-
setDebugMarkerName
HTTP cookie or header name identifying the debug session. -
setDebugEnabledValue
Value of the cookie or header signaling debug ON e.g. 'true' -
setAllowedNetworks
Network header if present checked against the configured regexp e.g. 'INTRANET|INTERNET' -
setAllowedClientIps
List of IP regexp rules matched against the IP address received from perimeter or socket e.g. '192\.168\..*' -
setLevel
Logger names handle on a higher level than the default logging.logger level. -
setMemoryLimitBytes
public void setMemoryLimitBytes(int memoryLimitBytes) Configure in-memory limits so network traffic cannot crash pods.- Since:
- 1.15.0
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-