Interface BaseRestHandler.RestChannelConsumer

All Superinterfaces:
org.elasticsearch.common.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 org.elasticsearch.common.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