Package org.opensearch.rest
Interface BaseRestHandler.StreamingRestChannelConsumer
- All Superinterfaces:
org.opensearch.common.CheckedConsumer<StreamingRestChannel,
Exception>
- Enclosing class:
BaseRestHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@ExperimentalApi
protected static interface BaseRestHandler.StreamingRestChannelConsumer
extends org.opensearch.common.CheckedConsumer<StreamingRestChannel,Exception>
Streaming REST requests are handled by preparing a streaming channel consumer that represents the execution of
the request against a channel.
- Opensearch.experimental:
-
Method Summary
Methods inherited from interface org.opensearch.common.CheckedConsumer
accept