@FunctionalInterface
protected static interface BaseRestHandler.RestChannelConsumer
Modifier and Type | Method and Description |
---|---|
void |
accept(RestChannel channel)
Executes a request against the given channel.
|
void accept(RestChannel channel) throws java.lang.Exception
channel
- the channel for sending the responsejava.lang.Exception
- if an exception occurred executing the request