- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,041 for jstream (0.04 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
return null; } validate(form, messages -> {}, this::asListHtml); verifyTokenKeep(this::asListHtml); return asStream(file.getName()).contentTypeOctetStream().stream(out -> { try (FileInputStream fis = new FileInputStream(file)) { out.write(fis); } }); } /** * Delete a design file.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 17.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
) = apply { actions += { stream -> stream.sink.writeUtf8(s) stream.sink.flush() responseSent.countDown() } } fun exhaustResponse() = apply { actions += { stream -> stream.sink.close() } } fun sleep( duration: Long, unit: TimeUnit, ) = apply { actions += { Thread.sleep(unit.toMillis(duration)) } } override fun handle(socket: Socket) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java
asDocMeta().id(id); } @Override public String[] getRoleNames() { return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } @Override public String[] getGroupNames() { return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } private String decode(final String value) {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
when explicitly forbidden. * Fix: Throw a `SSLPeerUnverifiedException` when host verification fails. * Fix: MockWebServer explicitly closes sockets. (On some Android releases, closing the input stream and output stream of a socket is not sufficient. * Fix: Buffer outgoing HTTP/2 frames to limit how many outgoing frames are created. * Fix: Avoid crashing when cache writing fails due to a full disk.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
docs/de/docs/advanced/custom-response.md
# Benutzerdefinierte Response – HTML, Stream, Datei, andere { #custom-response-html-stream-file-others } Standardmäßig gibt **FastAPI** die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Responses</abbr> mittels `JSONResponse` zurück. Sie können dies überschreiben, indem Sie direkt eine `Response` zurückgeben, wie in [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} gezeigt.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
protoSession.getUserProperties().entrySet().stream() .filter(k -> !sys.contains(k.getKey())) .peek(k -> context.pushedUserProperties.add(k.getKey())) .forEach(k -> System.setProperty(k.getKey(), k.getValue())); } else { protoSession.getUserProperties().entrySet().stream()
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
// from InputStream to OutputStream // /** * Copies from an input stream to an output stream. * <p> * Neither the input stream nor the output stream is closed. * </p> * * @param in the input stream (must not be {@literal null}) * @param out the output stream (must not be {@literal null}) * @return the number of bytes copied */Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
} throw e1; } return asStream("es_" + ComponentUtil.getSystemHelper().getCurrentTimeAsLong() + ".json").contentTypeOctetStream() .stream(out -> { try (final InputStream in = new FileInputStream(tempFile)) { out.write(in);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
* Executes the provided {@link Consumer} with a {@link Stream} obtained from the supplier. * The stream is automatically closed after the consumer is executed. * * @param stream the {@link Consumer} to process the {@link Stream} */ public void of(final Consumer<Stream<T>> stream) { try (Stream<T> s = supplier.get()) { stream.accept(s); } }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LifecycleRegistry.java
package org.apache.maven.api.services; import java.util.List; import java.util.stream.Stream; import java.util.stream.StreamSupport; import org.apache.maven.api.Lifecycle; public interface LifecycleRegistry extends ExtensibleEnumRegistry<Lifecycle>, Iterable<Lifecycle> { default Stream<Lifecycle> stream() { return StreamSupport.stream(spliterator(), false); } List<String> computePhases(Lifecycle lifecycle);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Aug 29 05:48:54 GMT 2024 - 1.2K bytes - Click Count (0)