- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for printer (0.04 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
.url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java
*/ /** * Contains the link pointers corresponding with the entries, in the range of [0, size()). The * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer * (pointing to the nextEntry entry in the linked list). The pointers in [size(), entries.length) * are all "null" (UNSET). * * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt
"https://api.twitter.com/robots.txt", "https://connect.squareup.com/robots.txt", ) println("TLS1.3+TLS1.2") testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS)) println("\nTLS1.3 only") testClient(urls, buildClient(TLS_13)) println("\nTLS1.3 then fallback") testClient(urls, buildClient(TLS_13, TLS_12))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 3.6K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
if (!queue.offer(linkWithoutFragment)) break; // Queue is full. } } } public static void main(String[] args) throws IOException { if (args.length != 2) { System.out.println("Usage: Crawler <cache dir> <root>"); return; } int threadCount = 20; int queueLimit = 1000; int hostLimit = 25; long cacheByteCount = 1024L * 1024L * 100L;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
docs/features/events.md
Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/SystemUtilTest.java
public void test() throws Exception { System.out.println(SystemUtil.FILE_ENCODING); System.out.println(SystemUtil.LINE_SEPARATOR); System.out.println(SystemUtil.PATH_SEPARATOR); System.out.println(SystemUtil.OS_NAME); System.out.println(SystemUtil.JAVA_IO_TMPDIR); System.out.println(SystemUtil.USER_DIR); System.out.println(SystemUtil.USER_HOME); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
ResourceTraversalUtil.forEach(con.getJarFile(), (ResourceHandler) (path, is) -> { try { if (count < 10) { System.out.println(path); } System.out.println(path); assertThat(path, is(notNullValue())); assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest")
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
newLocationUrl: String, ) { println("request " + info.httpStatusCode + " " + newLocationUrl) request.followRedirect() } override fun onResponseStarted( request: UrlRequest, info: UrlResponseInfo, ) { println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
@Override public synchronized void onOpen(WebSocket webSocket, Response response) { System.out.println("onOpen: " + response); } // TOOD(jwilson): decode incoming messages and dispatch them somewhere. @Override public void onMessage(WebSocket webSocket, String text) { System.out.println("onMessage: " + text); } @Override public void onClosing(WebSocket webSocket, int code, String reason) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0)