public interface RuntimeErrorEventHandler extends RequestHandler
| Modifier and Type | Method and Description |
|---|---|
default boolean |
canHandle(HandlerInput handlerInput)
Returns true if the handler can dispatch the current request.
|
boolean |
canHandle(HandlerInput input,
RuntimeErrorEvent runtimeErrorEvent)
Returns true if the handler can dispatch the current request
|
default Optional<Response> |
handle(HandlerInput handlerInput)
Handles the request.
|
Optional<Response> |
handle(HandlerInput input,
RuntimeErrorEvent runtimeErrorEvent)
Handles the request.
|
boolean canHandle(HandlerInput input, RuntimeErrorEvent runtimeErrorEvent)
input - input to the request handlerruntimeErrorEvent - RuntimeErrorEvent requestOptional<Response> handle(HandlerInput input, RuntimeErrorEvent runtimeErrorEvent)
input - input to the request handlerruntimeErrorEvent - RuntimeErrorEvent requestdefault boolean canHandle(HandlerInput handlerInput)
GenericRequestHandlercanHandle in interface GenericRequestHandler<HandlerInput,Optional<Response>>handlerInput - input to the request handlerdefault Optional<Response> handle(HandlerInput handlerInput)
GenericRequestHandlerhandle in interface GenericRequestHandler<HandlerInput,Optional<Response>>handlerInput - input to the request handlerCopyright © 2023. All rights reserved.