- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for newInstance (0.19 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
UrlComponentEncodingTester.newInstance() .override(Encoding.IDENTITY, '?'.code, '`'.code) .override(Encoding.PERCENT, '\''.code) .override(Encoding.SKIP, '#'.code, '+'.code) .test(UrlComponentEncodingTester.Component.QUERY_VALUE) } @Test fun fragmentCharacters() { UrlComponentEncodingTester.newInstance() .override( Encoding.IDENTITY,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
val callbackHandler = ConsoleCallbackHandler val builderList: List<KeyStore.Builder> = listOf( KeyStore.Builder.newInstance("PKCS11", null, KeyStore.CallbackHandlerProtection(callbackHandler)), // Example if you want to combine multiple keystore types // KeyStore.Builder.newInstance("PKCS12", null, File("keystore.p12"), PasswordProtection("rosebud".toCharArray())) )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (1) -
okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt
) { responder(Request(network, domain, nsType, flags, callback)) } companion object { @Implementation @JvmStatic fun getInstance(): DnsResolver = Shadow.newInstance(DnsResolver::class.java, arrayOf(), arrayOf()) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 22 20:07:09 GMT 2024 - 1.7K bytes - Viewed (1) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
}.get(null) return Class.forName( "org.junit.platform.console.tasks.TreePrintingListener", ).declaredConstructors.first() .apply { isAccessible = true } .newInstance(PrintWriter(System.out), colorPalette, Theme.UNICODE) as TestExecutionListener
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
* percent-encoded in a path. * * See https://url.spec.whatwg.org/#percent-encoded-bytes */ fun newInstance(): UrlComponentEncodingTester { return UrlComponentEncodingTester() .allAscii(Encoding.IDENTITY) .nonPrintableAscii(Encoding.PERCENT) .override( Encoding.SKIP,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0)