- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 85 for getInputStream (0.18 sec)
-
src/main/java/org/codelibs/curl/CurlRequest.java
if (GZIP.equals(con.getContentEncoding())) { return new GZIPInputStream(con.getInputStream()); } else { return con.getInputStream(); } } else if ("head".equalsIgnoreCase(con.getRequestMethod())) {
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Sun Feb 12 12:21:25 GMT 2023 - 12.3K bytes - Viewed (0) -
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 an
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
private final Source source; SourceWrapper(Source source) { this.source = source; } @Override public InputStream getInputStream() throws IOException { return source.openStream(); } @Override public String getLocation() { return source.getLocation(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.3K bytes - Viewed (0) -
maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
public FileSource(Path path) { this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath(); this.hashCode = Objects.hash(path); } @Override public InputStream getInputStream() throws IOException { return Files.newInputStream(path); } @Override public String getLocation() { return path.toString(); } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 26 17:04:44 GMT 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
} else { throw new CurlException("The content does not exist."); } } return contentCache.getInputStream(); } public void setContentCache(final ContentCache contentCache) { this.contentCache = contentCache; } public int getHttpStatusCode() { return httpStatusCode; }
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 4.2K bytes - Viewed (0) -
maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java
this.location = (location != null) ? location : "(memory)"; this.hashCode = this.content.hashCode(); } @Override public InputStream getInputStream() throws IOException { return new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); } @Override public String getLocation() { return location; } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
Objects.requireNonNull(request, "request"); Reader reader = request.getReader(); InputStream inputStream = request.getInputStream(); if (reader == null && inputStream == null) { throw new IllegalArgumentException("reader or inputStream must be non null"); } try { InputSource source = null;
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 3.7K bytes - Viewed (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 } } @Test public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 3.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
Objects.requireNonNull(request, "request"); Reader reader = request.getReader(); InputStream inputStream = request.getInputStream(); if (reader == null && inputStream == null) { throw new IllegalArgumentException("reader or inputStream must be non null"); } try { InputSource source = null;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.9K bytes - Viewed (0)