- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 78 for getInputStream (1.89 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
try { server .url("/a") .toUrl() .openConnection() .getInputStream() fail<Unit>() } catch (expected: IOException) { // Expected. } server .url("/b") .toUrl() .openConnection() .getInputStream() // Should succeed. } @Test fun clearDispatcherQueue() {Created: 2026-04-03 11:42 - Last Modified: 2025-08-03 22:38 - 28K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
@Immutable public interface XmlReaderRequest { @Nullable Path getPath(); @Nullable Path getRootDirectory(); @Nullable URL getURL(); @Nullable InputStream getInputStream(); @Nullable Reader getReader(); @Nullable Transformer getTransformer(); boolean isStrict(); @Nullable String getModelId(); @NullableCreated: 2026-04-05 03:35 - Last Modified: 2025-08-29 12:46 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* try (ContentCache cache = new ContentCache(data)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * * // File-based caching * File file = new File("example.txt"); * try (ContentCache cache = new ContentCache(file)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * } * </pre> * */
Created: 2026-04-02 15:34 - Last Modified: 2026-03-21 09:11 - 4.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
// Do Nothing } @Override public int getResponseCode() throws IOException { return 200; } @Override public InputStream getInputStream() throws IOException { return new ByteArrayInputStream(new byte[100]); // dummy payload } } @TestCreated: 2026-04-02 15:34 - Last Modified: 2026-03-21 12:00 - 44.1K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
try { server .url("/a") .toUrl() .openConnection() .getInputStream() fail<Any>() } catch (expected: IOException) { } server .url("/b") .toUrl() .openConnection() .getInputStream() // Should succeed. } /**Created: 2026-04-03 11:42 - Last Modified: 2025-07-03 13:16 - 22.3K bytes - Click Count (0) -
build-tools-internal/src/main/resources/forbidden/es-all-signatures.txt
java.lang.invoke.MethodHandle#invokeWithArguments(java.util.List) @defaultMessage Don't open socket connections java.net.URL#openStream() java.net.URLConnection#connect() java.net.URLConnection#getInputStream() java.net.Socket#connect(java.net.SocketAddress) java.net.Socket#connect(java.net.SocketAddress, int) java.nio.channels.SocketChannel#open(java.net.SocketAddress)
Created: 2026-04-08 16:19 - Last Modified: 2021-09-01 15:21 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
} @Override public OutputStream getOutputStream() { return null; } @Override public InputStream getInputStream() { return inputStream; } @Override public InputStream getErrorStream() { return null; } @OverrideCreated: 2026-03-31 13:07 - Last Modified: 2026-03-13 23:01 - 8.8K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
* * @return A byte stream to the source contents, never {@code null}. * @throws IOException in case of IO issue */ InputStream getInputStream() throws IOException; /** * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just anCreated: 2026-04-05 03:35 - Last Modified: 2025-01-15 18:51 - 1.8K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java
*/ public UrlSource(URL url) { this.url = Objects.requireNonNull(url, "url cannot be null"); this.hashCode = Objects.hashCode(url); } @Override public InputStream getInputStream() throws IOException { return url.openStream(); } @Override public String getLocation() { return url.toString(); } /** * Gets the URL of this source.Created: 2026-04-05 03:35 - Last Modified: 2025-01-15 18:51 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
* * @return the NetBIOS address */ public NbtAddress getNbtAddress() { return address; } @Override public InputStream getInputStream() throws IOException { return new SocketInputStream(super.getInputStream()); } @Override public OutputStream getOutputStream() throws IOException { return new SocketOutputStream(super.getOutputStream()); }Created: 2026-04-05 00:10 - Last Modified: 2025-08-16 01:32 - 6.1K bytes - Click Count (0)