Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 410 for Spring (0.2 sec)

  1. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun -deprecated_method ()Ljava/lang/String;
    	public final fun -deprecated_path ()Ljava/lang/String;
    	public final fun -deprecated_response ()Lokhttp3/mockwebserver/MockResponse;
    	public fun <init> (Ljava/lang/String;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/mockwebserver/MockResponse;)V
    	public final fun headers ()Lokhttp3/Headers;
    	public final fun method ()Ljava/lang/String;
    	public final fun path ()Ljava/lang/String;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      /**
       * Looks up valid string representing flags from the table. Invalid combinations are represented
       * in binary.
       */
      fun formatFlags(
        type: Int,
        flags: Int,
      ): String {
        if (flags == 0) return ""
        when (type) {
          // Special case types that have 0 or 1 flag.
          TYPE_SETTINGS, TYPE_PING -> return if (flags == FLAG_ACK) "ACK" else BINARY[flags]
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

      private var testCount = 0
    
      override fun executionSkipped(
        testIdentifier: TestIdentifier,
        reason: String,
      ) {
        printStatus("-")
      }
    
      private fun printStatus(s: String) {
        if (++testCount % 80 == 0) {
          printStatus("\n")
        }
        originalSystemErr?.print(s)
      }
    
      override fun executionFinished(
        testIdentifier: TestIdentifier,
        testExecutionResult: TestExecutionResult,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * compaction; that file should be deleted if it exists when the cache is opened.
       */
    
      private val journalFile: Path
      private val journalFileTmp: Path
      private val journalFileBackup: Path
      private var size: Long = 0L
      private var journalWriter: BufferedSink? = null
      internal val lruEntries = LinkedHashMap<String, Entry>(0, 0.75f, true)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

                val parameter = parameters[0] as String
    
                if (message == "Produced ClientHello handshake message") {
                  random = readClientRandom(parameter)
                }
              }
            }
    
            override fun flush() {}
    
            override fun close() {}
          }
    
        private fun readClientRandom(param: String): String? {
          val matchResult = randomRegex.find(param)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      interface FrameCallback {
        @Throws(IOException::class)
        fun onReadMessage(text: String)
    
        @Throws(IOException::class)
        fun onReadMessage(bytes: ByteString)
    
        fun onReadPing(payload: ByteString)
    
        fun onReadPong(payload: ByteString)
    
        fun onReadClose(
          code: Int,
          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

        // a different execution path might be taken. Thus modifications to the cache applied during
        // the second request might not be visible until another request is performed.
        assertThat(get(server.url("/")).body.string()).isEqualTo("ABCABCABC")
        assertThat(get(server.url("/")).body.string()).isEqualTo("ABCABCABC")
        assertThat(get(server.url("/")).body.string()).isEqualTo("ABCABCABC")
      }
    
      @Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          ) {
            builder.username(value)
          }
    
          override operator fun get(url: HttpUrl): String = url.username
        },
    
        PASSWORD {
          override fun urlString(value: String): String = "http://:$******@****.***/"
    
          override fun encodedValue(url: HttpUrl): String = url.encodedPassword
    
          override operator fun set(
            builder: HttpUrl.Builder,
            value: String,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. okhttp/api/okhttp.api

    	public static final fun basic (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    	public static final fun basic (Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
    	public static synthetic fun basic$default (Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;ILjava/lang/Object;)Ljava/lang/String;
    }
    
    public final class okhttp3/Dispatcher {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

        .build()
    }
    
    val Response.commonIsSuccessful: Boolean
      get() = code in 200..299
    
    fun Response.commonHeaders(name: String): List<String> = headers.values(name)
    
    @JvmOverloads
    fun Response.commonHeader(
      name: String,
      defaultValue: String?,
    ): String? = headers[name] ?: defaultValue
    
    @Throws(IOException::class)
    fun Response.commonPeekBody(byteCount: Long): ResponseBody {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top