@Test public void testDefaults() { ConfigAssertions.assertRecordedDefaults(ConfigAssertions.recordDefaults(InternalNetworkConfig.class) .setInternalNetworks(CidrSet.empty())); }
@Config("http-server.internal-networks") @ConfigDescription("Comma-separated list of CIDR blocks that are trusted for X-Forward-For:") public InternalNetworkConfig setInternalNetworks(CidrSet internalNetworks) { this.internalNetworks = internalNetworks; return this; }
InternalNetworkConfig { @Config("http-server.internal-networks") @ConfigDescription("Comma-separated list of CIDR blocks that are trusted for X-Forward-For:") public InternalNetworkConfig setInternalNetworks(CidrSet internalNetworks) { this.internalNetworks = internalNetworks; return this; } }
InternalNetworkConfig { @Config("http-server.internal-networks") @ConfigDescription("Comma-separated list of CIDR blocks that are trusted for X-Forward-For:") public InternalNetworkConfig setInternalNetworks(CidrSet internalNetworks) { this.internalNetworks = internalNetworks; return this; }  }
InternalNetworkConfig { @Config("http-server.internal-networks") @ConfigDescription("Comma-separated list of CIDR blocks that are trusted for X-Forward-For:") public InternalNetworkConfig setInternalNetworks(CidrSet internalNetworks) { this.internalNetworks = internalNetworks; return this; }  CidrSet getInternalNetworks(); @Config("http-server.internal-networks") @ConfigDescription("Comma-separated list of CIDR blocks that are trusted for X-Forward-For:") InternalNetworkConfig setInternalNetworks(CidrSet internalNetworks); }
InternalNetworkConfig { @Config("http-server.internal-networks") @ConfigDescription("Comma-separated list of CIDR blocks that are trusted for X-Forward-For:") public InternalNetworkConfig setInternalNetworks(CidrSet internalNetworks) { this.internalNetworks = internalNetworks; return this; }  CidrSet getInternalNetworks(); @Config("http-server.internal-networks") @ConfigDescription("Comma-separated list of CIDR blocks that are trusted for X-Forward-For:") InternalNetworkConfig setInternalNetworks(CidrSet internalNetworks);  }