public interface RequestDispatcher
Response.| Modifier and Type | Method and Description |
|---|---|
Optional<com.amazon.ask.model.Response> |
dispatch(HandlerInput input)
Dispatches an incoming request to the appropriate handling code and returns any output
|
Optional<com.amazon.ask.model.Response> dispatch(HandlerInput input) throws AskSdkException
input - handler input containing the Request, AttributesManager,
ServiceClientFactory, ResponseBuilder,
and other utilities.ResponseAskSdkException - when an exception occurs during request processingCopyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.