Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 270 for level2 (1.49 sec)

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

     */
    package okhttp3.mockwebserver
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.InetAddress
    import java.net.Proxy
    import java.util.concurrent.TimeUnit
    import java.util.logging.Level
    import java.util.logging.Logger
    import javax.net.ServerSocketFactory
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.HttpUrl
    import okhttp3.Protocol
    import org.junit.rules.ExternalResource
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

      @get:JvmName("size")
      val size: Int
        get() = namesAndValues.size / 2
    
      @JvmName("-deprecated_size")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "size"),
        level = DeprecationLevel.ERROR,
      )
      fun size(): Int = size
    
      /** Returns the field at `position`. */
      fun name(index: Int): String = commonName(index)
    
      /** Returns the value at `index`. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          System.setProperty("javax.net.debug", "")
          logger =
            Logger
              .getLogger("javax.net.ssl")
              .apply {
                level = Level.FINEST
                useParentHandlers = false
              }
        }
      }
    }
    
    @SuppressSignatureCheck
    class WiresharkExample(
      tlsVersions: List<TlsVersion>,
      private val launch: Launch? = null,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

        }
    
      val request = Request("http://google.com/robots.txt".toHttpUrl())
    
      @Test
      fun testHttpLoggingInterceptor() {
        val interceptor =
          HttpLoggingInterceptor().apply {
            level = HttpLoggingInterceptor.Level.BASIC
          }
    
        val client = clientBuilder.addInterceptor(interceptor).build()
    
        try {
          client.newCall(request).execute()
        } catch (uhe: UnknownHostException) {
          // expected
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

    import com.google.common.util.concurrent.AbstractFuture.TrustedFuture;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Level;
    import org.jspecify.annotations.Nullable;
    
    /** Implementation of {@link Futures#immediateFuture}. */
    @GwtCompatible
    // TODO(cpovirk): Make this final (but that may break Mockito spy calls).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

         */
        public ExecJob logFilePath(final String logFilePath) {
            this.logFilePath = logFilePath;
            return this;
        }
    
        /**
         * Sets the log level for this job execution.
         *
         * @param logLevel the log level (e.g., DEBUG, INFO, WARN, ERROR)
         * @return this ExecJob instance for method chaining
         */
        public ExecJob logLevel(final String logLevel) {
            this.logLevel = logLevel;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import com.google.common.testing.TestLogHandler;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ListenerCallQueue}. */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import com.google.common.testing.TestLogHandler;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ListenerCallQueue}. */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. mockwebserver-junit5/README.md

      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    ------------
    
    MockWebServer's JUnit 5 integration works on Android 7.0+ (API level 24+) and Java 8+. Note that
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 665 bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

     * transforms the file into an efficient format used by OkHttp.
     *
     *
     * The intent is to use this class to update the list periodically by manually running the main
     * method. This should be run from the top-level okhttp directory.
     *
     *
     * The resulting file is used by [PublicSuffixDatabase].
     */
    class PublicSuffixListGenerator(
      projectRoot: Path = ".".toPath(),
      val fileSystem: FileSystem = FileSystem.SYSTEM,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top