public interface HandlerAdapter
RequestDispatcher to invoke a type of request handler.| Modifier and Type | Method and Description |
|---|---|
Optional<com.amazon.ask.model.Response> |
execute(HandlerInput input,
Object handler)
Executes the request handler with the supplied input.
|
boolean |
supports(Object handler)
Returns true if the adapter supports the type of handler.
|
boolean supports(Object handler)
handler - request handlerOptional<com.amazon.ask.model.Response> execute(HandlerInput input, Object handler)
input - handler input containing the RequestEnvelope, AttributesManager,
ServiceClientFactory, ResponseBuilder,
and other utilities.handler - request handlerResponseCopyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.