@Test public void testBasicConfigIsSingleton() { HttpClientConfig config1 = HttpClientConfig.basicConfig(); HttpClientConfig config2 = HttpClientConfig.basicConfig(); assertThat(config2).isSameAs(config1); }
public static HttpClientConfig basicConfig() { return BASIC_CONFIG; }
HttpClientConfig { public static HttpClientConfig basicConfig() { return BASIC_CONFIG; } }
HttpClientConfig { public static HttpClientConfig basicConfig() { return BASIC_CONFIG; } private  HttpClientConfig(ObjectMapper customObjectMapper, ProxySettings proxySettings); }
HttpClientConfig { public static HttpClientConfig basicConfig() { return BASIC_CONFIG; } private  HttpClientConfig(ObjectMapper customObjectMapper, ProxySettings proxySettings); static HttpClientConfig basicConfig(); Optional<ObjectMapper> customObjectMapper(); ObjectMapper getOrCreateObjectMapper(); ProxySettings proxySettings(); HttpClientConfig withObjectMapper(ObjectMapper newMapper); HttpClientConfig withProxySettings(ProxySettings newProxySettings); @Override boolean equals(Object o); @Override int hashCode(); }
HttpClientConfig { public static HttpClientConfig basicConfig() { return BASIC_CONFIG; } private  HttpClientConfig(ObjectMapper customObjectMapper, ProxySettings proxySettings); static HttpClientConfig basicConfig(); Optional<ObjectMapper> customObjectMapper(); ObjectMapper getOrCreateObjectMapper(); ProxySettings proxySettings(); HttpClientConfig withObjectMapper(ObjectMapper newMapper); HttpClientConfig withProxySettings(ProxySettings newProxySettings); @Override boolean equals(Object o); @Override int hashCode();  }