public interface RequestHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(HandlerInput input)
Returns true if the handler can dispatch the current request
|
Optional<com.amazon.ask.model.Response> |
handle(HandlerInput input)
Accepts an input and generates a response
|
boolean canHandle(HandlerInput input)
input - request envelope containing request, context and stateOptional<com.amazon.ask.model.Response> handle(HandlerInput input)
input - request envelope containing request, context and stateResponse from the handler.Copyright © 2018. All rights reserved.