Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for None (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

        maxIdleConnections: Int = 5,
        keepAliveDuration: Long = 5,
        timeUnit: TimeUnit = TimeUnit.MINUTES,
        taskRunner: TaskRunner = TaskRunner.INSTANCE,
        connectionListener: ConnectionListener = ConnectionListener.NONE,
        readTimeoutMillis: Int = 10_000,
        writeTimeoutMillis: Int = 10_000,
        socketConnectTimeoutMillis: Int = 10_000,
        socketReadTimeoutMillis: Int = 10_000,
        pingIntervalMillis: Int = 10_000,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        @Volatile private var queryParamsNameToRedact = emptySet<String>()
    
        @set:JvmName("level")
        @Volatile
        var level = Level.NONE
    
        enum class Level {
          /** No logs. */
          NONE,
    
          /**
           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        lock.assertHeld()
    
        // If this connection is not accepting new exchanges, we're done.
        if (calls.size >= allocationLimit || noNewExchanges) return false
    
        // If the non-host fields of the address don't overlap, we're done.
        if (!this.route.address.equalsNonHost(address)) return false
    
        // If the host exactly matches, we're done: this connection can carry the address.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

        route: Route?,
        response: Response,
      ): Request?
    
      companion object {
        /** An authenticator that knows no credentials and makes no attempt to authenticate. */
        @JvmField
        val NONE: Authenticator = AuthenticatorNone()
    
        private class AuthenticatorNone : Authenticator {
          override fun authenticate(
            route: Route?,
            response: Response,
          ): Request? = null
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. docs/features/events.md

    ```java
    class MetricsEventListener extends EventListener {
      private static final Factory FACTORY = new Factory() {
        @Override public EventListener create(Call call) {
          if (Math.random() < 0.10) {
            return new MetricsEventListener(call);
          } else {
            return EventListener.NONE;
          }
        }
      };
    
      ...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .build(),
        )
        val response = getResponse(newRequest("/"))
        assertThat(response.code).isEqualTo(200)
        assertThat(response.message).isEqualTo("OK")
        assertContent(
          "STR;FFMJ2;Frankfurt;RTCM 2.1;1(1),3(19),16(59);0;GPS;GREF;DEU;50.12;8.68;0;1;GPSNet V2.10;none;N;N;560;Demo\nENDSOURCETABLE",
          response,
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

    import okhttp3.internal.http2.Http2.FLAG_ACK
    import okhttp3.internal.http2.Http2.FLAG_END_HEADERS
    import okhttp3.internal.http2.Http2.FLAG_END_STREAM
    import okhttp3.internal.http2.Http2.FLAG_NONE
    import okhttp3.internal.http2.Http2.INITIAL_MAX_FRAME_SIZE
    import okhttp3.internal.http2.Http2.TYPE_CONTINUATION
    import okhttp3.internal.http2.Http2.TYPE_DATA
    import okhttp3.internal.http2.Http2.TYPE_GOAWAY
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/FlowControlListener.kt

       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
      fun receivingConnectionWindowChanged(windowCounter: WindowCounter)
    
      /** Noop implementation */
      object None : FlowControlListener {
        override fun receivingStreamWindowChanged(
          streamId: Int,
          windowCounter: WindowCounter,
          bufferSize: Long,
        ) {
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertRequestHeader("Accept-Language", "en-US")
          .assertRequestHeader("Accept-Charset", "UTF-8")
          .assertRequestHeader("If-None-Match") // No If-None-Match on the user's request.
          .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)
          .assertReceivedResponseAtMillis(request2SentAt, request2ReceivedAt)
    
        // Check the cached response. Its request contains only the saved Vary headers.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

              // We need new data from upstream.
              while (true) {
                val upstreamPos = ******@****.***amPos
                if (sourcePos != upstreamPos) break
    
                // No more data upstream. We're done.
                if (complete) return -1L
    
                // Another thread is already reading. Wait for that.
                if (upstreamReader != null) {
                  timeout.waitUntilNotified(this@Relay)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top