- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 399 for printint (0.04 sec)
-
module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java
server.start(); // Just check we can run code that depends on OkHttp types Call call = OkHttpCaller.callOkHttp(server.url("/")); try (Response response = call.execute();) { System.out.println(response.body().string()); } } @Test public void testModules() { Module okHttpModule = OkHttpClient.class.getModule(); assertEquals("okhttp3", okHttpModule.getName());
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
.post(requestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostStreaming().run(); }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
.build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PreemptiveAuth().run(); } static final class BasicAuthInterceptor implements Interceptor {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt
.post(requestBody) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { /** * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
} // Zero nonce, we only use each key once, and 32 bytes is plenty. nonce := make([]byte, stream.NonceSize()) encr := stream.DecryptReader(r, nonce, nil) _, err = io.Copy(w, encr) if err == nil { fmt.Println(okMsg) } return err
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
// ResponseData responseData = future.get(); // if (responseData != null) { // System.out.println("status: " // + responseData.getHttpStatusCode() // + " content: " // + new String(InputStreamUtil.getBytes(responseData // .getResponseBody()), "UTF-8")); // } else { // System.out.println("OK"); // } // } // }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 11.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
.post(requestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostMultipart().run(); }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jun 24 12:59:42 UTC 2019 - 2.2K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.7K bytes - Viewed (0) -
samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java
Collections.sort(contributors, (c1, c2) -> c2.contributions - c1.contributions); // Output list of contributors. for (Contributor contributor : contributors) { System.out.println(contributor.login + ": " + contributor.contributions); } } } private OkHttpContributors() { // No instances. }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.2K bytes - Viewed (0)