- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 595 for printTo (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
} } catch (IOException e) { System.err.println("Unable determine version from JAR file: " + e.getMessage()); } return properties; } public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) { if (logger == null) { System.err.println(message); if (showStackTrace && e != null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/TreeConnectResponse.java
* * @return tree id */ int getTid(); /** * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe). * * @return service */ String getService(); /** * Indicates whether the connected share is part of a Distributed File System (DFS) namespace. *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
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());
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 2.1K bytes - Click Count (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(); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 2.1K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.body().string()); } server.shutdown(); socketFile.delete(); } public static void main(String... args) throws Exception { new ClientAndServer().run(); }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Dec 24 03:46:30 GMT 2018 - 2.1K bytes - Click Count (0) -
maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jul 12 12:05:57 GMT 2025 - 1.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
cleanupWarning = new Thread(warning); Runtime.getRuntime().addShutdownHook(cleanupWarning); } private void maybeWarnAboutCleanUp() { if (warnAboutCleanup) { System.out.println("[WARNING] TestFileManager from: " + callerInfo.getClassName() + " not cleaned up!"); } } public void markForDeletion(File toDelete) { filesToDelete.add(toDelete); warnAboutCleanup = true;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
assertTrue(matcher.matches("(1.4,1.5.2]")); assertTrue(matcher.matches("(1.5,)")); assertEquals("1.5.2", matcher.toString()); // Ensure it is not printed as 1.5.0 matcher = RequirementMatcherFactory.createVersionMatcher("1.5"); assertEquals("1.5", matcher.toString()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 2.3K bytes - Click Count (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
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.1K bytes - Click Count (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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 1.6K bytes - Click Count (0)