public interface SkillDisabledRequestHandler 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,
SkillDisabledRequest skillDisabledRequest)
Returns true if the handler can dispatch the current request
|
default Optional<Response> |
handle(HandlerInput handlerInput)
Handles the request.
|
Optional<Response> |
handle(HandlerInput input,
SkillDisabledRequest skillDisabledRequest)
Handles the request.
|
boolean canHandle(HandlerInput input, SkillDisabledRequest skillDisabledRequest)
input
- input to the request handlerskillDisabledRequest
- SkillDisabledRequest requestOptional<Response> handle(HandlerInput input, SkillDisabledRequest skillDisabledRequest)
input
- input to the request handlerskillDisabledRequest
- SkillDisabledRequest requestdefault boolean canHandle(HandlerInput handlerInput)
GenericRequestHandler
canHandle
in interface GenericRequestHandler<HandlerInput,Optional<Response>>
handlerInput
- input to the request handlerdefault Optional<Response> handle(HandlerInput handlerInput)
GenericRequestHandler
handle
in interface GenericRequestHandler<HandlerInput,Optional<Response>>
handlerInput
- input to the request handlerCopyright © 2023. All rights reserved.