Package org.elasticsearch.rest
Interface BaseRestHandler.RestChannelConsumer
-
- All Superinterfaces:
CheckedConsumer<RestChannel,java.lang.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 CheckedConsumer<RestChannel,java.lang.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.common.CheckedConsumer
accept
-
-