Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for configurations (0.19 sec)

  1. build.gradle.kts

        google()
      }
    
      tasks.create("downloadDependencies") {
        description = "Download all dependencies to the Gradle cache"
        doLast {
          for (configuration in configurations) {
            if (configuration.isCanBeResolved) {
              configuration.files
            }
          }
        }
      }
    
      normalization {
        runtimeClasspath {
          metaInf {
            ignoreAttribute("Bnd-LastModified")
          }
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

     *  Fix: Don't fail on a redirect when a client has configured a 'trust everything' trust manager.
        Typically this would cause certain redirects to fail in debug and development configurations.
    
    
    ## Version 4.4.0
    
    _2020-02-17_
    
     *  New: Support `canceled()` as an event that can be observed by `EventListener`. This should be
        useful for splitting out canceled calls in metrics.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. okhttp/build.gradle.kts

      expand("projectVersion" to project.version)
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt
    val generateIdnaMappingTableConfiguration: Configuration by configurations.creating
    dependencies {
      generateIdnaMappingTableConfiguration(projects.okhttpIdnaMappingTable)
    }
    val generateIdnaMappingTable by tasks.creating(JavaExec::class.java) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

      @Throws(IOException::class)
      private fun nextProxy(): Proxy {
        if (!hasNextProxy()) {
          throw SocketException(
            "No route to ${address.url.host}; exhausted proxy configurations: $proxies",
          )
        }
        val result = proxies[nextProxyIndex++]
        resetNextInetSocketAddress(result)
        return result
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. buildSrc/src/main/kotlin/Osgi.kt

    }
    
    private fun Project.applyOsgi(
      jarTaskName: String,
      osgiApiConfigurationName: String,
      bndProperties: Array<out String>,
    ) {
      val osgi = project.sourceSets.create("osgi")
      val osgiApi = project.configurations.getByName(osgiApiConfigurationName)
      val kotlinOsgi =
        extensions.getByType(VersionCatalogsExtension::class.java).named("libs")
          .findLibrary("kotlin.stdlib.osgi").get().get()
    
      project.dependencies {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            body = "bogus proxy connect response content",
            inTunnel = true,
          ),
        )
        server.enqueue(MockResponse(body = "response"))
    
        // Configure a single IP address for the host and a single configuration, so we only need one
        // failure to fail permanently.
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
    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)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        )
        executeSynchronously("/")
          .assertFailure(SSLHandshakeException::class.java)
      }
    
      @Test
      fun cleartextCallsFailWhenCleartextIsDisabled() {
        // Configure the client with only TLS configurations. No cleartext!
        client =
          client.newBuilder()
            .connectionSpecs(listOf(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
            .build()
        server.enqueue(MockResponse())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     * shares the same connection pool, thread pools, and configuration. Use the builder methods to
     * add configuration to the derived client for a specific purpose.
     *
     * This example shows the single instance with default configurations.
     *
     * ```java
     * public final OkHttpClient client = new OkHttpClient.Builder()
     *     .readTimeout(1000, TimeUnit.MILLISECONDS)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  9. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

    import okhttp3.containers.BasicMockServerTest.Companion.trustMockServer
    import okio.buffer
    import okio.source
    import org.junit.jupiter.api.Test
    import org.mockserver.client.MockServerClient
    import org.mockserver.configuration.Configuration
    import org.mockserver.logging.MockServerLogger
    import org.mockserver.model.HttpRequest.request
    import org.mockserver.model.HttpResponse.response
    import org.mockserver.proxyconfiguration.ProxyConfiguration
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *
     * The easiest way to pin a host is turn on pinning with a broken configuration and read the
     * expected configuration when the connection fails. Be sure to do this on a trusted network, and
     * without man-in-the-middle tools like [Charles][charles] or [Fiddler][fiddler].
     *
     * For example, to pin `https://publicobject.com`, start with a broken configuration:
     *
     * ```java
     * String hostname = "publicobject.com";
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
Back to top