- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for singleton (6.57 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
public final class CheckHandshake { /** Rejects otherwise-trusted certificates. */ private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() { final Set<String> denylist = Collections.singleton( "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig="); @Override public Response intercept(Chain chain) throws IOException {
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* * Use `new OkHttpClient()` to create a shared instance with the default settings: * * ```java * // The singleton HTTP client. * public final OkHttpClient client = new OkHttpClient(); * ``` * * Or use `new OkHttpClient.Builder()` to create a shared instance with custom settings: * * ```java * // The singleton HTTP client. * public final OkHttpClient client = new OkHttpClient.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
`com.squareup.okhttp` package should upgrade to the `okhttp3` package. Libraries that depend on OkHttp should upgrade quickly to prevent applications from being stuck on the old version. * **There is no longer a global singleton connection pool.** In OkHttp 2.x, all `OkHttpClient` instances shared a common connection pool by default. In OkHttp 3.x, each new `OkHttpClient` gets its own private connection pool.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
.junit.run/Not Slow.run.xml
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="Not Slow" type="JUnit" factoryName="JUnit" singleton="false"> <useClassPathOnly /> <option name="MAIN_CLASS_NAME" value="" /> <option name="METHOD_NAME" value="" /> <option name="TEST_OBJECT" value="tags" /> <option name="VM_PARAMETERS" value="-ea -Djunit.jupiter.extensions.autodetection.enabled=true" /> <option name="PARAMETERS" value="" />
XML - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Nov 21 13:28:45 GMT 2020 - 730 bytes - Viewed (0)