Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for level4b (0.17 sec)

  1. okhttp-logging-interceptor/README.md

    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
    logging.setLevel(Level.BASIC);
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

      fun enableHttp2() = enable(Http2::class)
    
      fun enableTaskRunner() = enable(TaskRunner::class)
    
      fun logHandler() =
        ConsoleHandler().apply {
          level = Level.FINE
          formatter =
            object : SimpleFormatter() {
              override fun format(record: LogRecord) = String.format("[%1\$tF %1\$tT] %2\$s %n", record.millis, record.message)
            }
        }
    
      fun enable(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "method"),
        level = DeprecationLevel.ERROR,
      )
      fun method(): String = method
    
      @JvmName("-deprecated_path")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "path"),
        level = DeprecationLevel.ERROR,
      )
      fun path(): String = path
    
      @JvmName("-deprecated_headers")
      @Deprecated(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3.junit5.internal
    
    import java.io.IOException
    import java.util.logging.Level
    import java.util.logging.Logger
    import mockwebserver3.MockWebServer
    import okhttp3.ExperimentalOkHttpApi
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    import org.junit.jupiter.api.extension.AfterAllCallback
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 11 12:12:36 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

        "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
      ) {
        return true
      }
    
      return false
    }
    
    @Deprecated(
      message = "No longer supported",
      level = DeprecationLevel.ERROR,
      replaceWith = ReplaceWith(expression = "response.promisesBody()"),
    )
    fun hasBody(response: Response): Boolean {
      return response.promisesBody()
    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)
  6. okhttp/src/main/kotlin/okhttp3/Handshake.kt

        message = "moved to val",
        replaceWith = ReplaceWith(expression = "tlsVersion"),
        level = DeprecationLevel.ERROR,
      )
      fun tlsVersion(): TlsVersion = tlsVersion
    
      @JvmName("-deprecated_cipherSuite")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "cipherSuite"),
        level = DeprecationLevel.ERROR,
      )
      fun cipherSuite(): CipherSuite = cipherSuite
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3.junit4
    
    import java.io.IOException
    import java.util.logging.Level
    import java.util.logging.Logger
    import mockwebserver3.MockWebServer
    import okhttp3.ExperimentalOkHttpApi
    import org.junit.rules.ExternalResource
    
    /**
     * Runs MockWebServer for the duration of a single test method.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.8K bytes
    - Viewed (1)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

    /**
     * This extends [X509ExtendedTrustManager] to disable verification for a set of hosts.
     *
     * Note that the superclass [X509ExtendedTrustManager] isn't available on Android until version 7
     * (API level 24).
     */
    @IgnoreJRERequirement
    internal class InsecureExtendedTrustManager(
      private val delegate: X509ExtendedTrustManager,
      private val insecureHosts: List<String>,
    ) : X509ExtendedTrustManager() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. docs/features/caching.md

    received followed by a cache hit or miss.  Critically in the cache hit scenario the server won’t send the response body.
    
    The response will have non-null `cacheResponse` and `networkResponse`. The cacheResponse will be used as the top level
    response only if the response code is HTTP/1.1 304 Not Modified.
     
     - CallStart
     - **CacheConditionalHit**
     - ConnectionAcquired
     - ... Standard Events...
     - ResponseBodyEnd _(0 bytes)_
     - **CacheHit**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  10. docs/features/calls.md

    ## Rewriting Requests
    
    When you provide OkHttp with an HTTP request, you’re describing the request at a high-level: _“fetch me this URL with these headers.”_ For correctness and efficiency, OkHttp rewrites your request before transmitting it.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Viewed (0)
Back to top