Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for behaviour (0.17 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

    /**
     * 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.
     */
    class ApacheHttpClientHttp2Test {
      @Test
      fun testHttp2() {
        val client = HttpAsyncClients.createHttp2Default()
    
        client.use { client ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

    import org.junit.jupiter.api.Test
    
    /**
     * Jetty HTTP client.
     *
     * https://www.eclipse.org/jetty/documentation/current/http-client.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class JettyHttpClientTest {
      private val client = HttpClient()
    
      @BeforeEach fun setUp() {
        client.start()
      }
    
      @AfterEach fun tearDown() {
        client.stop()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Dns.kt

            try {
              return InetAddress.getAllByName(hostname).toList()
            } catch (e: NullPointerException) {
              throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply {
                initCause(e)
              }
            }
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    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)
  5. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

    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)
  6. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

        }
      }
    
      companion object {
        /**
         * Returns a new response body that transmits this string. If [contentType] is non-null and
         * has a charset other than utf-8 the behaviour differs by platform.
         *
         * On the JVM the encoding will be used instead of utf-8.
         *
         * On non JVM platforms, this method will fail for encodings other than utf-8.
         */
        @JvmStatic
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1/generated.proto

      // Specifies the policy of handling failed pods. In particular, it allows to
      // specify the set of actions and conditions which need to be
      // satisfied to take the associated action.
      // If empty, the default behaviour applies - the counter of failed pods,
      // represented by the jobs's .status.failed field, is incremented and it is
      // checked against the backoffLimit. This field cannot be used in combination
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // +optional
      repeated MetricSpec metrics = 4;
    
      // behavior configures the scaling behavior of the target
      // in both Up and Down directions (scaleUp and scaleDown fields respectively).
      // If not set, the default HPAScalingRules for scale up and scale down are used.
      // +optional
      optional HorizontalPodAutoscalerBehavior behavior = 5;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // +optional
      repeated MetricSpec metrics = 4;
    
      // behavior configures the scaling behavior of the target
      // in both Up and Down directions (scaleUp and scaleDown fields respectively).
      // If not set, the default HPAScalingRules for scale up and scale down are used.
      // +optional
      optional HorizontalPodAutoscalerBehavior behavior = 5;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
      // +optional
      optional HorizontalPodAutoscalerSpec spec = 2;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22K bytes
    - Viewed (0)
Back to top