Uses of Record Class
io.fluxzero.proxy.ProxyServerConfig
-
Uses of ProxyServerConfig in io.fluxzero.proxy
Methods in io.fluxzero.proxy that return ProxyServerConfigModifier and TypeMethodDescriptionstatic ProxyServerConfigProxyServerConfig.forRuntime(String runtimeBaseUrl) Creates default proxy settings for a Runtime URL, selecting an ephemeral port and enabling metrics and graceful shutdown.static ProxyServerConfigProxyServerConfig.fromProperties()Loads proxy settings through application properties.ProxyServerConfig.withMetricsEnabled(boolean metricsEnabled) Returns a copy with metrics enabled or disabled as specified, preserving all other settings.ProxyServerConfig.withNamespace(String namespace) Returns a copy with the supplied namespace, preserving all other settings.ProxyServerConfig.withPort(int port) Returns a copy with the supplied listen port, preserving all other settings.Methods in io.fluxzero.proxy with parameters of type ProxyServerConfigModifier and TypeMethodDescriptionstatic ProxyServerProxyServer.start(ProxyServerConfig config) Starts an embedded proxy server with explicit configuration.static ProxyServerProxyServer.start(ProxyServerConfig config, String host) Starts an embedded proxy on an explicit interface, with the port and backend settings fromconfig.