- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 680 for iostream (0.05 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
server.enqueue( MockResponse .Builder() .body( """ |data: hey | | """.trimMargin(), ).setHeader("content-type", "text/event-stream") .build(), ) val request = Request.Builder().url(server.url("/")).build() val response = client.newCall(request).execute() response.processEventSource(listener) listener.assertOpen()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 13:49:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
private final CIFSContext transportContext; /** * Sets the URL stream handler factory for the environment. This * allows specification of the factory used in creating underlying * stream handlers. This can be called once per JVM instance. * * @param factory * The URL stream handler factory. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
} /** * Wraps exception handling for {@link Properties#load(InputStream)}. * <p> * The input stream is not closed. * </p> * * @param props the property set (must not be {@literal null}) * @param in the input stream (must not be {@literal null}) */ public static void load(final Properties props, final InputStream in) {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
getProperties().list(out); } @Override public synchronized void load(final InputStream inStream) throws IOException { final Properties prop = new Properties(); lastModified = propertiesFile.lastModified(); prop.load(inStream); properties = prop; } @Override public synchronized void load(final Reader reader) throws IOException {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
} } final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper(); // set urls split(urlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).distinct().forEach(urlValue -> { if (!urlValue.startsWith("#") && protocolHelper.isValidWebProtocol(urlValue)) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
this.body = body; return this; } /** * Sets the input stream for the request body. * * @param stream the input stream * @return this CurlRequest instance * @throws CurlException if the body method is already called */ public CurlRequest body(final InputStream stream) { if (body != null) { throw new CurlException("body method is already called.");Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
/** * Adds sort builders to the query context. * @param sortBuilders Variable number of sort builders to add. */ public void addSorts(final SortBuilder<?>... sortBuilders) { stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder))); } /** * Checks if any sort builders have been added to this context.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
// or throw an exception. Test the actual behavior. queryFieldConfig.highlightedFields(stream -> { // If it doesn't throw NPE, it should provide an empty stream assertEquals(0, stream.count()); }); } public void test_init_withInvalidDefaultFields() { // Test with invalid default field formatsRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
* corresponding response body stream. This is necessary if we want servers to be able to stop * inbound data and send an early 400 before the request body completes. * * This test sends a slow request that is canceled by the server. It expects the response to still * be readable after the request stream is canceled. */ @Disabled @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
private final OutputStream stream; private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override public void close() throws IOException { this.stream.close(); this.collector.close();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0)