Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for validate (0.18 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Apache HttpClient 5.x.
     *
     * https://hc.apache.org/httpcomponents-client-5.0.x/index.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Java HTTP Client.
     *
     * https://openjdk.java.net/groups/net/httpclient/intro.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class JavaHttpClientTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @Test fun get(server: MockWebServer) {
        // Not available
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      // 2. Normalize, from bufferB to bufferA.
      val normalized = normalizeNfc(bufferB.readUtf8())
      bufferA.writeUtf8(normalized)
    
      // 3. For each label, convert/validate Punycode.
      val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null
    
      // 4.1 Validate.
    
      // Must be NFC.
      if (decoded != normalizeNfc(decoded)) return null
    
      // TODO: Must not begin with a combining mark.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      /** This is a integer enum. Use 0L for v1, 1L for v2, and 2L for v3. */
      val version: Long,
      val serialNumber: BigInteger,
      val signature: AlgorithmIdentifier,
      val issuer: List<List<AttributeTypeAndValue>>,
      val validity: Validity,
      val subject: List<List<AttributeTypeAndValue>>,
      val subjectPublicKeyInfo: SubjectPublicKeyInfo,
      val issuerUniqueID: BitString?,
      val subjectUniqueID: BitString?,
      val extensions: List<Extension>,
    ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

     * limitations under the License.
     */
    package okhttp3.testing
    
    import okhttp3.internal.platform.Platform
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.logging",
      "Automatic-Module-Name: okhttp3.logging",
      "Bundle-SymbolicName: com.squareup.okhttp3.logging"
    )
    
    dependencies {
      api(projects.okhttp)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 842 bytes
    - Viewed (0)
  7. okhttp-urlconnection/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"",
      "Automatic-Module-Name: okhttp3.urlconnection",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 16:20:29 GMT 2023
    - 764 bytes
    - Viewed (0)
  8. okhttp-tls/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
      id("ru.vyarus.animalsniffer")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.tls",
      "Automatic-Module-Name: okhttp3.tls",
      "Bundle-SymbolicName: com.squareup.okhttp3.tls"
    )
    
    dependencies {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 1K bytes
    - Viewed (0)
  9. okhttp-android/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    
    plugins {
      id("com.android.library")
      kotlin("android")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android"
    
      defaultConfig {
        minSdk = 21
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. gradle/libs.versions.toml

    gradlePlugin-animalsniffer = "ru.vyarus:gradle-animalsniffer-plugin:1.7.1"
    gradlePlugin-binaryCompatibilityValidator = "org.jetbrains.kotlinx.binary-compatibility-validator:org.jetbrains.kotlinx.binary-compatibility-validator.gradle.plugin:0.14.0"
    gradlePlugin-bnd = { module = "biz.aQute.bnd:biz.aQute.bnd.gradle", version.ref = "biz-aQute-bnd" }
    gradlePlugin-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.9.20"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top