- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getUserAgentString (0.14 sec)
-
platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java
} final URLConnection urlConnection = sourceUri.toURL().openConnection(); urlConnection.setRequestProperty("User-Agent", getUserAgentString()); // Without this, the URLConnection will keep the backing Jar file open indefinitely // This will have a performance impact for Jar-backed `UriTextResource` instances
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java
} }); } public void configureUserAgent(HttpClientBuilder builder) { builder.setUserAgent(UriTextResource.getUserAgentString()); } private void configureCookieSpecRegistry(HttpClientBuilder builder) { PublicSuffixMatcher publicSuffixMatcher = PublicSuffixMatcherLoader.getDefault();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 18.5K bytes - Viewed (0)