Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 395 for lain (0.02 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

          for (Certificate certificate : response.handshake().peerCertificates()) {
            System.out.println(CertificatePinner.pin(certificate));
          }
        }
      }
    
      public static void main(String... args) throws Exception {
        new CertificatePinning().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  2. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

      }
    
      private fun response(
        url: String,
        body: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .body(body.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
          .request(Request.Builder().url(url).build())
          .protocol(Protocol.HTTP_2)
          .apply(fn)
          .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. build.gradle.kts

          toolVersion = rootProject.libs.versions.checkStyle.get()
          sourceSets = listOf(project.sourceSets["main"])
        }
    
        // Animal Sniffer confirms we generally don't use APIs not on Java 8.
        configure<AnimalSnifferExtension> {
          annotation = "okhttp3.internal.SuppressSignatureCheck"
          sourceSets = listOf(project.sourceSets["main"])
          signatures = androidSignature + jvmSignature
          failWithoutSignatures = false
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. gradlew

    #       Darwin, MinGW, and NonStop.
    #
    #   (3) This script is generated from the Groovy template
    #       https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
    #       within the Gradle project.
    #
    #       You can find Gradle at https://github.com/gradle/gradle/.
    #
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

          System.out.println("Server: " + response.header("Server"));
          System.out.println("Date: " + response.header("Date"));
          System.out.println("Vary: " + response.headers("Vary"));
        }
      }
    
      public static void main(String... args) throws Exception {
        new AccessHeaders().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

            userAgent = userAgent.name,
            version = userAgent.version,
            platform = userAgent.platform,
            enabled = userAgent.suiteNames.map { SuiteId(null, it) },
          )
        }
    }
    
    suspend fun main() {
      val sslLabsClient =
        SslLabsClient(
          callFactory = OkHttpClient(),
        )
    
      for (client in sslLabsClient.clients()) {
        println(client)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            return username;
        }
    
        /**
         * Returns the password in plain text or {@code null} if the raw password
         * hashes were used to construct this {@code NtlmPasswordAuthentication}
         * object which will be the case when NTLM HTTP Authentication is
         * used. There is no way to retrieve a users password in plain text unless
         * it is supplied by the user at runtime.
         */
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            }
                        } else if (tc.getConfig().isDisablePlainTextPasswords()) {
                            throw new RuntimeException("Plain text passwords are disabled");
                        } else {
                            // plain text
                            final String password = a.getPassword();
                            this.lmHash = new byte[(password.length() + 1) * 2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. .github/CONTRIBUTING.md

    `checkstyle-result.xml` file.
    
    Some general advice
    
    - Don’t change public API lightly, avoid if possible, and include your reasoning in the PR if essential.  It causes pain for developers who use OkHttp and sometimes runtime errors.
    - Favour a working external library if appropriate.  There are many examples of OkHttp libraries that can sit on top or hook in via existing APIs.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 04:16:26 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

                System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
              }
    
              System.out.println(responseBody.string());
            }
          }
        });
      }
    
      public static void main(String... args) throws Exception {
        new AsynchronousGet().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
Back to top