Package io.kroxylicious.proxy.plugin
Class Plugins
java.lang.Object
io.kroxylicious.proxy.plugin.Plugins
-
Method Summary
Modifier and TypeMethodDescriptionstatic <C> CrequireConfig(Object pluginImpl, C config) Checks that the givenconfigis not null, throwingPluginConfigurationExceptionif it is.
-
Method Details
-
requireConfig
Checks that the givenconfigis not null, throwingPluginConfigurationExceptionif it is.- Type Parameters:
C- The type of the config- Parameters:
pluginImpl- The plugin consuming the configconfig- The possibly null config- Returns:
- The non-null config
-