Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for httpcomponents (1.45 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

     */
    
    package okhttp3.internal.http
    
    // HTTP Status Codes not offered by HttpUrlConnection.
    //
    // https://datatracker.ietf.org/doc/html/rfc7231#page-47
    //
    // From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java
    
    /** `100 Continue` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_CONTINUE = 100
    
    /** `101 Switching Protocols` (HTTP/1.1 - RFC 9110)  */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Apache HttpClient 5.x.
     *
     * https://hc.apache.org/httpcomponents-client-5.0.x/index.html
     */
    @RunWith(AndroidJUnit4::class)
    class ApacheHttpClientTest {
      private var httpClient = HttpClients.createDefault()
    
      @After fun tearDown() {
        httpClient.close()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    import org.apache.hc.core5.http.io.entity.EntityUtils
    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()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

    import org.apache.hc.core5.concurrent.FutureCallback
    import org.apache.hc.core5.http.ProtocolVersion
    import org.junit.Assert
    import org.junit.Test
    
    /**
     * Simplified from
     * https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/AsyncClientTlsAlpn.java
     *
     * Mainly intended to verify behaviour of popular clients across Android versions, similar
     * to observing Firefox or Chrome browser behaviour.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. pom.xml

    					<groupId>org.codehaus.groovy</groupId>
    					<artifactId>groovy</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>org.apache.httpcomponents</groupId>
    					<artifactId>httpclient</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>org.apache.httpcomponents</groupId>
    					<artifactId>httpcore</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>org.opensearch.plugin</groupId>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
  6. gradle/libs.versions.toml

    gradlePlugin-shadow = "com.gradleup.shadow:shadow-gradle-plugin:9.1.0"
    gradlePlugin-spotless = "com.diffplug.spotless:spotless-plugin-gradle:7.2.1"
    hamcrestLibrary = "org.hamcrest:hamcrest-library:3.0"
    httpClient5 = "org.apache.httpcomponents.client5:httpclient5:5.5"
    #noinspection NewerVersionAvailable
    jettyClient = "org.eclipse.jetty:jetty-client:9.4.58.v20250814"
    jnr-unixsocket = "com.github.jnr:jnr-unixsocket:0.38.23"
    jsoup = "org.jsoup:jsoup:1.21.2"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 31 17:41:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("foo.com", session)).isTrue()
        assertThat(verifier.verify("bar.com", session)).isFalse()
      }
    
      @Test fun specialKInHostname() {
        // https://github.com/apache/httpcomponents-client/commit/303e435d7949652ea77a6c50df1c548682476b6e
        // https://www.gosecure.net/blog/2020/10/27/weakness-in-java-tls-host-verification/
        val heldCertificate =
          HeldCertificate
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
Back to top