Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for providers (0.2 sec)

  1. okhttp/src/test/java/okhttp3/CookieTest.kt

    import okhttp3.internal.http.MAX_DATE
    import okhttp3.internal.parseCookie
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.assertThrows
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class CookieTest {
      val url = "https://example.com/".toHttpUrl()
    
      @Test fun simpleCookie() {
        val cookie = parse(url, "SID=31d4d96e407aad42")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            applyAndAckSettings(clearPrevious, settings)
          }
        }
    
        /**
         * Apply inbound settings and send an acknowledgement to the peer that provided them.
         *
         * We need to apply the settings and ack them atomically. This is because some HTTP/2
         * implementations (nghttp2) forbid peers from taking advantage of settings before they have
    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)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.io.TempDir
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    class FileSystemParamProvider : SimpleProvider() {
      override fun arguments() =
        listOf(
          FakeFileSystem().apply { emulateUnix() } to false,
          FileSystem.SYSTEM to TestUtil.windows,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.MethodSource
    
    class AndroidSocketAdapterTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @BeforeEach
      fun setUp() {
        platform.assumeConscrypt()
      }
    
      val context: SSLContext by lazy {
        val provider: Provider = Conscrypt.newProviderBuilder().provideTrustManager(true).build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

    import org.conscrypt.ConscryptHostnameVerifier
    
    /**
     * Platform using Conscrypt (conscrypt.org) if installed as the first Security Provider.
     *
     * Requires org.conscrypt:conscrypt-openjdk-uber >= 2.1.0 on the classpath.
     */
    class ConscryptPlatform private constructor() : Platform() {
      private val provider: Provider = Conscrypt.newProvider()
    
      // See release notes https://groups.google.com/forum/#!forum/conscrypt
      // for version differences
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

     * limitations under the License.
     */
    package okhttp3.testing
    
    import android.os.Build
    import com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider
    import com.amazon.corretto.crypto.provider.SelfTestStatus
    import java.lang.reflect.Method
    import java.security.Security
    import okhttp3.TestUtil
    import okhttp3.internal.platform.ConscryptPlatform
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. docs/features/https.md

     [CertificatePinningKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt
     [provider_installer]: https://developer.android.com/training/articles/security-gms-provider
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class SessionReuseTest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

      val b0 = this[index].code
      val b1 = this[index + 1].code
      return (b0 shl 7) + b1
    }
    
    /**
     * An extremely generic binary search that doesn't know what data it's searching over. The caller
     * provides indexes and a comparison function, and this calls that function iteratively.
     *
     * @return the index of the match. If no match is found this is `(-1 - insertionPoint)`, where the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      internal var errorCode: ErrorCode? = null
        get() = this.withLock { field }
    
      /** The exception that explains [errorCode]. Null if no exception was provided. */
      internal var errorException: IOException? = null
    
      init {
        if (headers != null) {
          check(!isLocallyInitiated) { "locally-initiated streams shouldn't have headers yet" }
          headersQueue += headers
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
Back to top