public interface RestHandler
Modifier and Type | Method and Description |
---|---|
default boolean |
canTripCircuitBreaker() |
void |
handleRequest(RestRequest request,
RestChannel channel,
NodeClient client)
Handles a rest request.
|
void handleRequest(RestRequest request, RestChannel channel, NodeClient client) throws java.lang.Exception
request
- The request to handlechannel
- The channel to write the request response toclient
- A client to use to make internal requests on behalf of the original requestjava.lang.Exception
default boolean canTripCircuitBreaker()