Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Err (0.13 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            } else if (platformSystemProperty == JDK8_ALPN_PROPERTY) {
              if (!isAlpnBootEnabled()) {
                System.err.println("Warning: ALPN Boot not enabled")
              }
            } else if (platformSystemProperty == JDK8_PROPERTY) {
              if (isAlpnBootEnabled()) {
                System.err.println("Warning: ALPN Boot enabled unintentionally")
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

          }
        }
      }
    
      override fun testPlanExecutionFinished(testPlan: TestPlan) {
        originalSystemErr?.println()
      }
    
      fun install() {
        originalSystemOut = System.out
        originalSystemErr = System.err
    
        System.setOut(object : PrintStream(OutputStream.nullOutputStream()) {})
        System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {})
      }
    
      fun uninstall() {
        originalSystemOut.let {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

                  super.publish(record)
    
                  val parameters = record.parameters
                  if (sslDebug && record.loggerName == "javax.net.ssl" && parameters != null) {
                    System.err.println(parameters[0])
                  }
                }
              }
    
            if (debug) {
              handler.level = Level.ALL
              handler.formatter = OneLineLogFormat()
              val activeLogger = getLogger("")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              if (this.launch != CommandLine) {
                println("${it.code} ${it.request.url.host} $firstLine")
              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
        }
      }
    }
    
    fun main() {
      // Call this before anything else initialises the JSSE stack.
      WireSharkListenerFactory.register()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

        if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) {
          System.err.println("Ignoring unsupported scheme ${testData.scheme}")
          return
        }
    
        if (!testData.base!!.startsWith("https:") &&
          !testData.base!!.startsWith("http:") &&
          testData.base != "about:blank"
        ) {
          System.err.println("Ignoring unsupported base ${testData.base}")
          return
        }
    
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

          if (callback is PasswordCallback) {
            val console = System.console()
    
            if (console != null) {
              callback.password = console.readPassword(callback.prompt)
            } else {
              System.err.println(callback.prompt)
              callback.password = System.`in`.bufferedReader().readLine().toCharArray()
            }
          } else {
            throw UnsupportedCallbackException(callback)
          }
        }
      }
    }
    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)
  7. okhttp/src/test/java/okhttp3/CorrettoTest.kt

        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) {
            System.err.println("Flaky TLSv1.3 with google")
    //    assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
          }
        }
      }
    
      @Test
      fun testIfSupported() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) {
            System.err.println("Flaky TLSv1.3 with google")
    //    assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
          }
        }
      }
    
      @Test
      fun testBuildIfSupported() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
            System.err.println("No main for $className")
          }
        } catch (ite: InvocationTargetException) {
          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top