Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for exclusion (0.17 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

     * limitations under the License.
     */
    package okhttp3.survey
    
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    
    /**
     * Organizes information on SSL cipher suite inclusion and precedence for this spreadsheet.
     * https://docs.google.com/spreadsheets/d/1C3FdZSlCBq_-qrVwG1KDIzNIB3Hyg_rKAcgmSzOsHyQ/edit#gid=0
     */
    class CipherSuiteSurvey(
      val clients: List<Client>,
      val ianaSuites: IanaSuites,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.streamId = streamId
          this.windowSizeIncrement = windowSizeIncrement
        }
    
        override fun priority(
          streamId: Int,
          streamDependency: Int,
          weight: Int,
          exclusive: Boolean,
        ) {
          throw UnsupportedOperationException()
        }
    
        override fun pushPromise(
          streamId: Int,
          associatedStreamId: Int,
          headerBlock: List<Header>,
        ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

          if (context.executionException.isPresent) return@AfterEachCallback
          assertThat(data.readByteString().hex(), "Data not empty")
            .isEqualTo("")
        }
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
      private val serverWriter =
        WebSocketWriter(
          isClient = false,
          sink = data,
          random = random,
          perMessageDeflate = false,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      @Test
      fun connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache() {
        initResponseCache()
        server.useHttps(handshakeCertificates.sslSocketFactory())
        // The inclusion of a body in the response to a CONNECT is key to reproducing b/6754912.
        server.enqueue(
          MockResponse(
            body = "bogus proxy connect response content",
            inTunnel = true,
          ),
        )
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      private fun readPriority(
        handler: Handler,
        streamId: Int,
      ) {
        val w1 = source.readInt()
        val exclusive = w1 and 0x80000000.toInt() != 0
        val streamDependency = w1 and 0x7fffffff
        val weight = (source.readByte() and 0xff) + 1
        handler.priority(streamId, streamDependency, weight, exclusive)
      }
    
      @Throws(IOException::class)
      private fun readRstStream(
        handler: Handler,
        length: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      }
    
      return null
    }
    
    @JvmField
    internal val assertionsEnabled: Boolean = OkHttpClient::class.java.desiredAssertionStatus()
    
    /**
     * Returns the string "OkHttp" unless the library has been shaded for inclusion in another library,
     * or obfuscated with tools like R8 or ProGuard. In such cases it'll return a longer string like
     * "com.example.shaded.okhttp3.OkHttp". In large applications it's possible to have multiple OkHttp
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

    import org.junit.jupiter.api.Test
    
    class WebSocketReaderTest {
      private val data = Buffer()
      private val callback = WebSocketRecorder("client")
      private val random = Random(0)
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
      private val serverReader =
        WebSocketReader(
          isClient = false,
          source = data,
          frameCallback = callback.asFrameCallback(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

    import okio.Sink
    import okio.Source
    import okio.buffer
    
    /**
     * Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and
     * bandwidth.
     *
     * The Cache instance must have exclusive access to the [directory], since the internal data structures
     * may cause corruption or runtime errors if not. It may however be shared amongst multiple OkHttpClient
     * instances.
     *
     * ## Cache Optimization
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

              }
            }
          }
        }
    
        override fun priority(
          streamId: Int,
          streamDependency: Int,
          weight: Int,
          exclusive: Boolean,
        ) {
          // TODO: honor priority.
        }
    
        override fun pushPromise(
          streamId: Int,
          promisedStreamId: Int,
          requestHeaders: List<Header>,
        ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * sequences, accessible as streams or files. Each value must be between `0` and `Int.MAX_VALUE`
     * bytes in length.
     *
     * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
     * the cache; the cache may delete or overwrite files from its directory. It is an error for
     * multiple processes to use the same cache directory at the same time.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top