Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 121 for jobname (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

        get() {
          return tlsVersionsAsString?.map { TlsVersion.forJavaName(it) }
        }
    
      @JvmName("-deprecated_tlsVersions")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "tlsVersions"),
        level = DeprecationLevel.ERROR,
      )
      fun tlsVersions(): List<TlsVersion>? = tlsVersions
    
      @JvmName("-deprecated_supportsTlsExtensions")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt

    ) {
      TLS_1_3("TLSv1.3"), // 2016.
      TLS_1_2("TLSv1.2"), // 2008.
      TLS_1_1("TLSv1.1"), // 2006.
      TLS_1_0("TLSv1"), // 1999.
      SSL_3_0("SSLv3"), // 1996.
      ;
    
      @JvmName("-deprecated_javaName")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "javaName"),
        level = DeprecationLevel.ERROR,
      )
      fun javaName(): String = javaName
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt

      @SuppressLint("DiscouragedPrivateApi")
      private fun getProcess(): String? =
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
          getProcessName()
        } else {
          Class
            .forName("android.app.ActivityThread")
            .getDeclaredMethod("currentProcessName")
            .apply { isAccessible = true }
            .invoke(null) as String
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            assertThrows(NullPointerException.class, () -> Class.forName(null));
        }
    
        @Test
        @DisplayName("Happy path: class is loadable via fully qualified name")
        void testClassForName() throws Exception {
            // Act
            Class<?> c = Class.forName("jcifs.smb.SessionSetupHandler");
    
            // Assert
            assertEquals(SessionSetupHandler.class, c);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

            shutdownCommonsHttpClient();
        }
    
        private void shutdownCommonsHttpClient() { // from Tomcat7ConfigServlet (old class)
            try {
                final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager");
                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        String prefix =
            useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent.";
        String className = prefix + queueType + "BlockingQueue";
        Constructor<?> constructor = Class.forName(className).getConstructor(int.class);
        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

          }
    
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
        val mediaType = "text/plain;charset=\"'utf-8'\"".toMediaType()
        if (isAndroid) {
          // Charset.forName("'utf-8'") == UTF-8
          assertEquals("UTF-8", mediaType.charsetName())
        } else {
          assertNull(mediaType.charset())
        }
      }
    
      @Test fun testDefaultCharset() {
        val noCharset = parse("text/plain")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    @Disabled("Don't run by default")
    @Tag("Slow")
    class AllMainsTest {
      @ParameterizedTest
      @ArgumentsSource(MainTestProvider::class)
      fun runMain(className: String) {
        val mainMethod =
          Class
            .forName(className)
            .methods
            .find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

      @get:JvmName("trustManager") val trustManager: X509TrustManager,
    ) {
      @JvmName("-deprecated_keyManager")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "keyManager"),
        level = DeprecationLevel.ERROR,
      )
      fun keyManager(): X509KeyManager = keyManager
    
      @JvmName("-deprecated_trustManager")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top