Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Absent (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * ### Username and Password
     *
     * Username and password are either present, or the empty string `""` if absent. This class offers
     * no mechanism to differentiate empty from absent. Neither of these components are popular in
     * practice. Typically HTTP applications use other mechanisms for user identification and
     * authentication.
     *
     * ### Host
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

     *  New: `okhttp-sse` is an early preview of Server-Sent Events (SSE). This feature is incomplete
        and is only suitable for experimental use.
     *  New: MockWebServer now supports client authentication (mutual TLS). Call `requestClientAuth()`
        to permit an optional client certificate or `requireClientAuth()` to require one.
     *  New: `RecordedRequest.getHandshake()` returns the HTTPS handshake of a request sent to
        `MockWebServer`.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("k1", "a", "a")
        cache["k1"]!!.use {
          cache.remove("k1")
          assertThat(cache.edit("k1")).isNull()
        }
      }
    
      @Test
      fun `removed entry absent when iterating`() {
        set("k1", "a", "a")
        cache["k1"]!!.use {
          cache.remove("k1")
          val snapshots = cache.snapshots()
          assertThat(snapshots.hasNext()).isFalse()
        }
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

        checkNotNull(predicate);
        while (iterator.hasNext()) {
          T t = iterator.next();
          if (predicate.apply(t)) {
            return Optional.of(t);
          }
        }
        return Optional.absent();
      }
    
      /**
       * Returns the index in {@code iterator} of the first element that satisfies the provided {@code
       * predicate}, or {@code -1} if the Iterator has no such elements.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

            '`'.code,
            '{'.code,
            '|'.code,
            '}'.code,
          ).test(UrlComponentEncodingTester.Component.HOST)
      }
    
      @Test
      fun hostIpv6() {
        // Square braces are absent from host()...
        assertThat(parse("http://[::1]/").host).isEqualTo("::1")
    
        // ... but they're included in toString().
        assertThat(parse("http://[::1]/").toString()).isEqualTo("http://[::1]/")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABC")
        assertThat(response.protocol).isEqualTo(protocol)
    
        // Confirm a single ping was sent and received, and its reply was sent and received.
        val logs = testLogHandler.takeAll()
        assertThat(countFrames(logs, "FINE: >> 0x00000000     8 PING          "))
          .isEqualTo(1)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

      }
    
      /**
       * Webservers may set the initial window size to zero, which is a special case because it means
       * that we have to flush headers immediately before any request body can be sent.
       * https://github.com/square/okhttp/issues/2543
       */
      @Test fun peerSetsZeroFlowControl() {
        peer.setClient(true)
    
        // Write the mocking script.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                            /*
                             * Apparently once a successful NTLMSSP login occurs, the
                             * server will return "Access denied" even if a logoff is
                             * sent. Unfortunately calling disconnect() doesn't always
                             * actually shutdown the connection before other threads
                             * have committed themselves (e.g. InterruptTest example).
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        @Resource
        protected MimeTypeHelper mimeTypeHelper;
    
        /** The HTTP client instance */
        protected volatile CloseableHttpClient httpClient;
    
        /** List of request headers to be sent with each request */
        private final List<Header> requestHeaderList = new ArrayList<>();
    
        /** Map of HTTP client properties */
        private final Map<String, Object> httpClientPropertyMap = new HashMap<>();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

      @get:JvmName("writeTimeoutMillis")
      val writeTimeoutMillis: Int = builder.writeTimeout
    
      /** Web socket and HTTP/2 ping interval (in milliseconds). By default pings are not sent. */
      @get:JvmName("pingIntervalMillis")
      val pingIntervalMillis: Int = builder.pingInterval
    
      /** Web socket close timeout (in milliseconds). */
      @get:JvmName("webSocketCloseTimeout")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
Back to top