Class Features
java.lang.Object
io.kroxylicious.proxy.internal.config.Features
Represents the entire set of proxy features.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Features.FeaturesBuilderbuilder()static FeaturesbooleaninthashCode()booleansupports(Configuration configuration) Check whether this configuration is supported by the proxy's featurestoString()warnings()If any sensitive or unsupported features are enabled, they may return a warning to be logged
-
Method Details
-
supports
Check whether this configuration is supported by the proxy's features- Parameters:
configuration- configuration- Returns:
- if not supported, returns a list of errors, else an empty list
-
isEnabled
- Parameters:
feature- feature to test- Returns:
- true if feature enabled, else false
-
defaultFeatures
-
warnings
If any sensitive or unsupported features are enabled, they may return a warning to be logged- Returns:
- list of warnings, empty if no warnings
-
builder
-
equals
-
hashCode
public int hashCode() -
toString
-