Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for level4b (0.14 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        replaceWith = ReplaceWith(expression = "headers"),
        level = DeprecationLevel.ERROR,
      )
      fun getHeaders(): Headers = headers
    
      fun setHeaders(headers: Headers) = apply { this.headers = headers }
    
      @JvmName("-deprecated_getTrailers")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "trailers"),
        level = DeprecationLevel.ERROR,
      )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocksProxy.kt

    import java.util.Collections
    import java.util.concurrent.ConcurrentHashMap
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicInteger
    import java.util.logging.Level
    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    import okhttp3.internal.and
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.threadName
    import okio.Buffer
    import okio.BufferedSink
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                  }
                }
              }
            }
          }
    
          override fun flush() {
          }
    
          override fun close() {
          }
        }.apply {
          level = Level.FINEST
        }
    
      private fun applyLogger(fn: Logger.() -> Unit) {
        Logger.getLogger(OkHttpClient::class.java.`package`.name).fn()
        Logger.getLogger(OkHttpClient::class.java.name).fn()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "type"),
        level = DeprecationLevel.ERROR,
      )
      fun type(): MediaType = type
    
      @JvmName("-deprecated_boundary")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "boundary"),
        level = DeprecationLevel.ERROR,
      )
      fun boundary(): String = boundary
    
      @JvmName("-deprecated_size")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Route.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "address"),
        level = DeprecationLevel.ERROR,
      )
      fun address(): Address = address
    
      @JvmName("-deprecated_proxy")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "proxy"),
        level = DeprecationLevel.ERROR,
      )
      fun proxy(): Proxy = proxy
    
      @JvmName("-deprecated_socketAddress")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "name"),
        level = DeprecationLevel.ERROR,
      )
      fun name(): String = name
    
      @JvmName("-deprecated_value")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "value"),
        level = DeprecationLevel.ERROR,
      )
      fun value(): String = value
    
      @JvmName("-deprecated_persistent")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

          replaceWith =
            ReplaceWith(
              expression = "content.toRequestBody(contentType)",
              imports = ["okhttp3.RequestBody.Companion.toRequestBody"],
            ),
          level = DeprecationLevel.WARNING,
        )
        fun create(
          contentType: MediaType?,
          content: String,
        ): RequestBody = content.toRequestBody(contentType)
    
        @JvmStatic
        @Deprecated(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        interceptor.level = HttpLoggingInterceptor.Level.BASIC
        var level: HttpLoggingInterceptor.Level = interceptor.level
        interceptor.intercept(newInterceptorChain())
      }
    
      @Test
      fun httpLoggingInterceptorLevel() {
        val none: HttpLoggingInterceptor.Level = HttpLoggingInterceptor.Level.NONE
        val basic: HttpLoggingInterceptor.Level = HttpLoggingInterceptor.Level.BASIC
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  9. okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt

      @Test
      fun testHttpLoggingInterceptor() {
        val interceptor =
          HttpLoggingInterceptor.androidLogging(tag = "testHttpLoggingInterceptor").apply {
            level = HttpLoggingInterceptor.Level.BASIC
          }
    
        val client = clientBuilder.addInterceptor(interceptor).build()
    
        try {
          client.newCall(request).execute()
        } catch (uhe: UnknownHostException) {
          // expected
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. README.md

        return response.body().string();
      }
    }
    ```
    
    Further examples are on the [OkHttp Recipes page][recipes].
    
    
    Requirements
    ------------
    
    OkHttp works on Android 5.0+ (API level 21+) and Java 8+.
    
    OkHttp depends on [Okio][okio] for high-performance I/O and the [Kotlin standard library][kotlin]. Both are small libraries with strong backward-compatibility.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top