Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for void (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/RealResponseBody.kt

    package okhttp3.internal.http
    
    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.ResponseBody
    import okio.BufferedSource
    
    class RealResponseBody(
      /**
       * Use a string to avoid parsing the content type until needed. This also defers problems caused
       * by malformed content types.
       */
      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

     * to resolve a concrete type.
     */
    internal data class AnyValue(
      var tagClass: Int,
      var tag: Long,
      var constructed: Boolean = false,
      var length: Long = -1L,
      val bytes: ByteString,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

            }
          } else if (!isMultiplexed || e is ConnectionShutdownException) {
            noNewExchangesEvent = !noNewExchanges
            noNewExchanges = true
    
            // If this route hasn't completed a call, avoid it for new connections.
            if (successCount == 0) {
              if (e != null) {
                connectFailed(call.client, route, e)
              }
              routeFailureCount++
            }
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

        calls. With this change each connection is locked independently.
    
     *  Upgrade: [Okio 2.7.0][okio_2_7_0].
    
        ```kotlin
        implementation("com.squareup.okio:okio:2.7.0")
        ```
    
     *  Fix: Avoid log messages like "Didn't find class org.conscrypt.ConscryptHostnameVerifier" when
        detecting the TLS capabilities of the host platform.
    
     *  Fix: Don't crash in `HttpUrl.topPrivateDomain()` when the hostname is malformed.
    
    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)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    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)
  6. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

          .certificatePinner(
              new CertificatePinner.Builder()
                  .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 08 21:30:01 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  7. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  8. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        private UnixServerSocketChannel serverSocketChannel;
        private InetSocketAddress endpoint;
    
        UnixDomainServerSocket() throws IOException {
        }
    
        @Override public void bind(SocketAddress endpoint, int backlog) throws IOException {
          this.endpoint = (InetSocketAddress) endpoint;
    
          UnixSocketAddress address = new UnixSocketAddress(path);
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

        }
    
        @Override public void callStart(Call call) {
          printEvent("callStart");
        }
    
        @Override public void dnsStart(Call call, String domainName) {
          printEvent("dnsStart");
        }
    
        @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {
          printEvent("dnsEnd");
        }
    
        @Override public void connectStart(
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  10. gradle/wrapper/gradle-wrapper.jar

    download; public final ExclusiveFileAccessM exclusiveFileAccessM; public void Install(Logger, Download, PathAssembler); public static Install$InstallCheck access$000(Install, java.io.File, String); public static void verifyDownloadChecks(String, java.io.File, String); public static boolean deleteDir(java.io.File); public static void unzip(java.io.File, java.io.File); public final void unzipLocal(java.io.File, java.io.File); public final void forceFetch(java.io.File, java.net.URI); } org/gradle/wrapper/Logger.class...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
Back to top