Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for reload (0.16 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

      private val offset = ZoneOffset.systemDefault()
    
      override fun format(record: LogRecord): String {
        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          level.intValue() == Level.INFO.intValue() -> Log.INFO
          else -> Log.DEBUG
        }
    
    object AndroidLogHandler : Handler() {
      override fun publish(record: LogRecord) {
        androidLog(record.loggerName, record.androidLevel, record.message, record.thrown)
      }
    
      override fun flush() {
      }
    
      override fun close() {
      }
    }
    
    @SuppressSignatureCheck
    object AndroidLog {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/logging/MessageFormatter.kt

     */
    package okhttp3.curl.logging
    
    import java.util.logging.LogRecord
    import java.util.logging.SimpleFormatter
    
    object MessageFormatter : SimpleFormatter() {
      override fun format(record: LogRecord): String {
        return String.format("%s%n", record.message)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 860 bytes
    - Viewed (0)
  4. docs/works_with_okhttp.md

     * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
     * [OkReplay](https://github.com/airbnb/okreplay): Record and replay OkHttp network interaction in your tests.
     * [okhttp-signpost](https://github.com/pakerfeldt/okhttp-signpost): OAuth signing with signpost and OkHttp.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
        assertThat(cache.remove("a")).isTrue()
        assertAbsent("a")
        cache.close()
        createNewCache()
    
        // The journal will have no record that 'a' was removed. It will have an entry for 'a', but when
        // it tries to read the cache files, it will find they were deleted. Once it encounters an entry
        // with missing cache files, it should remove it from the cache entirely.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

            }
            LogManager.getLogManager().reset()
            val handler =
              object : ConsoleHandler() {
                override fun publish(record: LogRecord) {
                  super.publish(record)
    
                  val parameters = record.parameters
                  if (sslDebug && record.loggerName == "javax.net.ssl" && parameters != null) {
                    System.err.println(parameters[0])
                  }
                }
              }
    
    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)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              //
              // Raw write
              // Raw read
              // Plaintext before ENCRYPTION
              // Plaintext after DECRYPTION
              val message = record.message
              val parameters = record.parameters
    
              if (parameters != null && !message.startsWith("Raw") && !message.startsWith("Plaintext")) {
                if (verbose) {
                  println(record.message)
                  println(record.parameters[0])
    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)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        }
    
        val questionCount = buf.readShort().toInt() and 0xffff
        val answerCount = buf.readShort().toInt() and 0xffff
        buf.readShort() // authority record count
        buf.readShort() // additional record count
    
        for (i in 0 until questionCount) {
          skipName(buf) // name
          buf.readShort() // type
          buf.readShort() // class
        }
    
        for (i in 0 until answerCount) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x1b] = encoding // Escape
          encodings[ 0x1c] = encoding // File Separator
          encodings[ 0x1d] = encoding // Group Separator
          encodings[ 0x1e] = encoding // Record Separator
          encodings[ 0x1f] = encoding // Unit Separator
          encodings[ 0x7f] = encoding // Delete
        }
    
      fun nonAscii(encoding: Encoding) =
        apply {
          encodings[UNICODE_2] = encoding
    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)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *     READ 335c4c6028171cfddfbaae1a9c313c52
       *     READ 3400330d1dfc7f3f7f4b8d4d803dfcf6
       *
       * The first five lines of the journal form its header. They are the constant string
       * "libcore.io.DiskLruCache", the disk cache's version, the application's version, the value
       * count, and a blank line.
       *
       * Each of the subsequent lines in the file is a record of the state of a cache entry. Each line
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top