Package org.elasticsearch.rest
Interface BaseRestHandler.RestChannelConsumer
- All Superinterfaces:
org.elasticsearch.core.CheckedConsumer<RestChannel,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
protected static interface BaseRestHandler.RestChannelConsumer
extends org.elasticsearch.core.CheckedConsumer<RestChannel,Exception>
REST requests are handled by preparing a channel consumer that represents the execution of
the request against a channel.
-
Method Summary
Methods inherited from interface org.elasticsearch.core.CheckedConsumer
accept