Modifier and Type | Field and Description |
---|---|
protected GenericRequestDispatcher<HandlerInput,Optional<Response>> |
CustomSkill.requestDispatcher
Request Dispatcher.
|
protected TemplateFactory<HandlerInput,Response> |
CustomSkill.templateFactory
Interface to process template and data to generate skill response.
|
Modifier and Type | Field and Description |
---|---|
protected TemplateFactory<HandlerInput,Response> |
SkillBuilder.templateFactory
Template Factory interface to process template and data to generate skill response.
|
protected TemplateFactory<HandlerInput,Response> |
SkillConfiguration.templateFactory
Template Factory interface to process template and data to generate skill response.
|
Modifier and Type | Method and Description |
---|---|
TemplateFactory<HandlerInput,Response> |
CustomSkillConfiguration.getTemplateFactory()
Getter method for Template Factory.
|
TemplateFactory<HandlerInput,Response> |
SkillConfiguration.getTemplateFactory()
Getter method for Template Factory.
|
TemplateFactory<HandlerInput,Response> |
SkillConfiguration.Builder.getTemplateFactory()
Getter for Template factory.
|
Modifier and Type | Method and Description |
---|---|
SkillConfiguration.Builder |
SkillConfiguration.Builder.withTemplateFactory(TemplateFactory<HandlerInput,Response> templateFactory)
Adds Template factory to Skill configuration.
|
Constructor and Description |
---|
DefaultExceptionMapper(List<GenericExceptionHandler<HandlerInput,Optional<Response>>> exceptionHandlers)
Deprecated.
Constructor for DefaultExceptionMapper.
|
Modifier and Type | Field and Description |
---|---|
protected TemplateFactory<HandlerInput,Response> |
HandlerInput.templateFactory
Interface to process template and data to generate skill response.
|
Modifier and Type | Method and Description |
---|---|
HandlerInput |
HandlerInput.Builder.build()
Builder method to build an instance of HandlerInput with the provided data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HandlerInput.matches(Predicate<HandlerInput> predicate)
Evaluates a
Predicate against the current handler input state. |
Constructor and Description |
---|
HandlerInput(RequestEnvelope requestEnvelope,
PersistenceAdapter persistenceAdapter,
Object context,
ServiceClientFactory serviceClientFactory,
com.fasterxml.jackson.databind.JsonNode requestEnvelopeJson,
TemplateFactory<HandlerInput,Response> templateFactory)
Constructor for HandlerInput.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
PreviousCommandIssuedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ReminderDeletedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
RuntimeErrorRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
SessionResumedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ReminderStartedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ListItemsUpdatedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PlaybackFailedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ExpiredRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
AuthorizationGrantRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ListUpdatedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PermissionAcceptedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ListItemsCreatedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ListCreatedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
UsagesRemovedHandler.canHandle(HandlerInput handlerInput) |
default boolean |
SkillEnabledRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
RuntimeErrorEventHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ElementSelectedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ListItemsDeletedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ConnectionsResponseHandler.canHandle(HandlerInput handlerInput) |
default boolean |
LoadTokenListDataEventHandler.canHandle(HandlerInput handlerInput) |
default boolean |
SkillDisabledRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
AplTUserEventHandler.canHandle(HandlerInput handlerInput) |
default boolean |
CanFulfillIntentRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
AccountLinkedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ReminderUpdatedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
InputRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PlaybackStartedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PlaybackFinishedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PlayCommandIssuedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ListDeletedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
NotificationSubscriptionChangedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
AplARuntimeErrorEventHandler.canHandle(HandlerInput handlerInput) |
default boolean |
UsagesInstalledHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ReminderCreatedEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ProactiveSubscriptionChangedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
InputHandlerEventRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PermissionChangedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
APIInvocationRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PauseCommandIssuedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
MessageRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
LaunchRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
DataStoreErrorHandler.canHandle(HandlerInput handlerInput) |
default boolean |
InstallationErrorHandler.canHandle(HandlerInput handlerInput) |
default boolean |
EventsReceivedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
NextCommandIssuedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ConnectionsRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
LoadIndexListDataEventHandler.canHandle(HandlerInput handlerInput) |
default boolean |
SessionEndedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
IntentRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
UserEventHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PlaybackNearlyFinishedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
MessageReceivedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ExceptionEncounteredRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
PlaybackStoppedRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
UpdateRequestHandler.canHandle(HandlerInput handlerInput) |
default boolean |
ReminderStatusChangedEventRequestHandler.canHandle(HandlerInput handlerInput) |
boolean |
AccountLinkedRequestHandler.canHandle(HandlerInput input,
AccountLinkedRequest accountLinkedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
APIInvocationRequestHandler.canHandle(HandlerInput input,
APIInvocationRequest aPIInvocationRequest)
Returns true if the handler can dispatch the current request
|
boolean |
AuthorizationGrantRequestHandler.canHandle(HandlerInput input,
AuthorizationGrantRequest authorizationGrantRequest)
Returns true if the handler can dispatch the current request
|
boolean |
CanFulfillIntentRequestHandler.canHandle(HandlerInput input,
CanFulfillIntentRequest canFulfillIntentRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ConnectionsRequestHandler.canHandle(HandlerInput input,
ConnectionsRequest connectionsRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ConnectionsResponseHandler.canHandle(HandlerInput input,
ConnectionsResponse connectionsResponse)
Returns true if the handler can dispatch the current request
|
boolean |
DataStoreErrorHandler.canHandle(HandlerInput input,
DataStoreError dataStoreError)
Returns true if the handler can dispatch the current request
|
boolean |
ElementSelectedRequestHandler.canHandle(HandlerInput input,
ElementSelectedRequest elementSelectedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
EventsReceivedRequestHandler.canHandle(HandlerInput input,
EventsReceivedRequest eventsReceivedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ExceptionEncounteredRequestHandler.canHandle(HandlerInput input,
ExceptionEncounteredRequest exceptionEncounteredRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ExpiredRequestHandler.canHandle(HandlerInput input,
ExpiredRequest expiredRequest)
Returns true if the handler can dispatch the current request
|
boolean |
InputHandlerEventRequestHandler.canHandle(HandlerInput input,
InputHandlerEventRequest inputHandlerEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
InputRequestHandler.canHandle(HandlerInput input,
InputRequest inputRequest)
Returns true if the handler can dispatch the current request
|
boolean |
InstallationErrorHandler.canHandle(HandlerInput input,
InstallationError installationError)
Returns true if the handler can dispatch the current request
|
boolean |
IntentRequestHandler.canHandle(HandlerInput input,
IntentRequest intentRequest)
Returns true if the handler can dispatch the current request
|
boolean |
LaunchRequestHandler.canHandle(HandlerInput input,
LaunchRequest launchRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ListCreatedEventRequestHandler.canHandle(HandlerInput input,
ListCreatedEventRequest listCreatedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ListDeletedEventRequestHandler.canHandle(HandlerInput input,
ListDeletedEventRequest listDeletedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ListItemsCreatedEventRequestHandler.canHandle(HandlerInput input,
ListItemsCreatedEventRequest listItemsCreatedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ListItemsDeletedEventRequestHandler.canHandle(HandlerInput input,
ListItemsDeletedEventRequest listItemsDeletedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ListItemsUpdatedEventRequestHandler.canHandle(HandlerInput input,
ListItemsUpdatedEventRequest listItemsUpdatedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ListUpdatedEventRequestHandler.canHandle(HandlerInput input,
ListUpdatedEventRequest listUpdatedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
LoadIndexListDataEventHandler.canHandle(HandlerInput input,
LoadIndexListDataEvent loadIndexListDataEvent)
Returns true if the handler can dispatch the current request
|
boolean |
LoadTokenListDataEventHandler.canHandle(HandlerInput input,
LoadTokenListDataEvent loadTokenListDataEvent)
Returns true if the handler can dispatch the current request
|
boolean |
MessageReceivedRequestHandler.canHandle(HandlerInput input,
MessageReceivedRequest messageReceivedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
MessageRequestHandler.canHandle(HandlerInput input,
MessageRequest messageRequest)
Returns true if the handler can dispatch the current request
|
boolean |
NextCommandIssuedRequestHandler.canHandle(HandlerInput input,
NextCommandIssuedRequest nextCommandIssuedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
NotificationSubscriptionChangedRequestHandler.canHandle(HandlerInput input,
NotificationSubscriptionChangedRequest notificationSubscriptionChangedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PauseCommandIssuedRequestHandler.canHandle(HandlerInput input,
PauseCommandIssuedRequest pauseCommandIssuedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PermissionAcceptedRequestHandler.canHandle(HandlerInput input,
PermissionAcceptedRequest permissionAcceptedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PermissionChangedRequestHandler.canHandle(HandlerInput input,
PermissionChangedRequest permissionChangedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PlaybackFailedRequestHandler.canHandle(HandlerInput input,
PlaybackFailedRequest playbackFailedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PlaybackFinishedRequestHandler.canHandle(HandlerInput input,
PlaybackFinishedRequest playbackFinishedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PlaybackNearlyFinishedRequestHandler.canHandle(HandlerInput input,
PlaybackNearlyFinishedRequest playbackNearlyFinishedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PlaybackStartedRequestHandler.canHandle(HandlerInput input,
PlaybackStartedRequest playbackStartedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PlaybackStoppedRequestHandler.canHandle(HandlerInput input,
PlaybackStoppedRequest playbackStoppedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PlayCommandIssuedRequestHandler.canHandle(HandlerInput input,
PlayCommandIssuedRequest playCommandIssuedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
PreviousCommandIssuedRequestHandler.canHandle(HandlerInput input,
PreviousCommandIssuedRequest previousCommandIssuedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ProactiveSubscriptionChangedRequestHandler.canHandle(HandlerInput input,
ProactiveSubscriptionChangedRequest proactiveSubscriptionChangedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ReminderCreatedEventRequestHandler.canHandle(HandlerInput input,
ReminderCreatedEventRequest reminderCreatedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ReminderDeletedEventRequestHandler.canHandle(HandlerInput input,
ReminderDeletedEventRequest reminderDeletedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ReminderStartedEventRequestHandler.canHandle(HandlerInput input,
ReminderStartedEventRequest reminderStartedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ReminderStatusChangedEventRequestHandler.canHandle(HandlerInput input,
ReminderStatusChangedEventRequest reminderStatusChangedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
ReminderUpdatedEventRequestHandler.canHandle(HandlerInput input,
ReminderUpdatedEventRequest reminderUpdatedEventRequest)
Returns true if the handler can dispatch the current request
|
boolean |
RuntimeErrorEventHandler.canHandle(HandlerInput input,
RuntimeErrorEvent runtimeErrorEvent)
Returns true if the handler can dispatch the current request
|
boolean |
AplARuntimeErrorEventHandler.canHandle(HandlerInput input,
RuntimeErrorEvent runtimeErrorEvent)
Returns true if the handler can dispatch the current request
|
boolean |
RuntimeErrorRequestHandler.canHandle(HandlerInput input,
RuntimeErrorRequest runtimeErrorRequest)
Returns true if the handler can dispatch the current request
|
boolean |
SessionEndedRequestHandler.canHandle(HandlerInput input,
SessionEndedRequest sessionEndedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
SessionResumedRequestHandler.canHandle(HandlerInput input,
SessionResumedRequest sessionResumedRequest)
Returns true if the handler can dispatch the current request
|
boolean |
SkillDisabledRequestHandler.canHandle(HandlerInput input,
SkillDisabledRequest skillDisabledRequest)
Returns true if the handler can dispatch the current request
|
boolean |
SkillEnabledRequestHandler.canHandle(HandlerInput input,
SkillEnabledRequest skillEnabledRequest)
Returns true if the handler can dispatch the current request
|
boolean |
UpdateRequestHandler.canHandle(HandlerInput input,
UpdateRequest updateRequest)
Returns true if the handler can dispatch the current request
|
boolean |
UsagesInstalledHandler.canHandle(HandlerInput input,
UsagesInstalled usagesInstalled)
Returns true if the handler can dispatch the current request
|
boolean |
UsagesRemovedHandler.canHandle(HandlerInput input,
UsagesRemoved usagesRemoved)
Returns true if the handler can dispatch the current request
|
boolean |
AplTUserEventHandler.canHandle(HandlerInput input,
UserEvent userEvent)
Returns true if the handler can dispatch the current request
|
boolean |
UserEventHandler.canHandle(HandlerInput input,
UserEvent userEvent)
Returns true if the handler can dispatch the current request
|
default Optional<Response> |
PreviousCommandIssuedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ReminderDeletedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
RuntimeErrorRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
SessionResumedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ReminderStartedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ListItemsUpdatedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PlaybackFailedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ExpiredRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
AuthorizationGrantRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ListUpdatedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PermissionAcceptedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ListItemsCreatedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ListCreatedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
UsagesRemovedHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
SkillEnabledRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
RuntimeErrorEventHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ElementSelectedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ListItemsDeletedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ConnectionsResponseHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
LoadTokenListDataEventHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
SkillDisabledRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
AplTUserEventHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
CanFulfillIntentRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
AccountLinkedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ReminderUpdatedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
InputRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PlaybackStartedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PlaybackFinishedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PlayCommandIssuedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ListDeletedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
NotificationSubscriptionChangedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
AplARuntimeErrorEventHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
UsagesInstalledHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ReminderCreatedEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ProactiveSubscriptionChangedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
InputHandlerEventRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PermissionChangedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
APIInvocationRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PauseCommandIssuedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
MessageRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
LaunchRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
DataStoreErrorHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
InstallationErrorHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
EventsReceivedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
NextCommandIssuedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ConnectionsRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
LoadIndexListDataEventHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
SessionEndedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
IntentRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
UserEventHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PlaybackNearlyFinishedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
MessageReceivedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ExceptionEncounteredRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
PlaybackStoppedRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
UpdateRequestHandler.handle(HandlerInput handlerInput) |
default Optional<Response> |
ReminderStatusChangedEventRequestHandler.handle(HandlerInput handlerInput) |
Optional<Response> |
AccountLinkedRequestHandler.handle(HandlerInput input,
AccountLinkedRequest accountLinkedRequest)
Handles the request.
|
Optional<Response> |
APIInvocationRequestHandler.handle(HandlerInput input,
APIInvocationRequest aPIInvocationRequest)
Handles the request.
|
Optional<Response> |
AuthorizationGrantRequestHandler.handle(HandlerInput input,
AuthorizationGrantRequest authorizationGrantRequest)
Handles the request.
|
Optional<Response> |
CanFulfillIntentRequestHandler.handle(HandlerInput input,
CanFulfillIntentRequest canFulfillIntentRequest)
Handles the request.
|
Optional<Response> |
ConnectionsRequestHandler.handle(HandlerInput input,
ConnectionsRequest connectionsRequest)
Handles the request.
|
Optional<Response> |
ConnectionsResponseHandler.handle(HandlerInput input,
ConnectionsResponse connectionsResponse)
Handles the request.
|
Optional<Response> |
DataStoreErrorHandler.handle(HandlerInput input,
DataStoreError dataStoreError)
Handles the request.
|
Optional<Response> |
ElementSelectedRequestHandler.handle(HandlerInput input,
ElementSelectedRequest elementSelectedRequest)
Handles the request.
|
Optional<Response> |
EventsReceivedRequestHandler.handle(HandlerInput input,
EventsReceivedRequest eventsReceivedRequest)
Handles the request.
|
Optional<Response> |
ExceptionEncounteredRequestHandler.handle(HandlerInput input,
ExceptionEncounteredRequest exceptionEncounteredRequest)
Handles the request.
|
Optional<Response> |
ExpiredRequestHandler.handle(HandlerInput input,
ExpiredRequest expiredRequest)
Handles the request.
|
Optional<Response> |
InputHandlerEventRequestHandler.handle(HandlerInput input,
InputHandlerEventRequest inputHandlerEventRequest)
Handles the request.
|
Optional<Response> |
InputRequestHandler.handle(HandlerInput input,
InputRequest inputRequest)
Handles the request.
|
Optional<Response> |
InstallationErrorHandler.handle(HandlerInput input,
InstallationError installationError)
Handles the request.
|
Optional<Response> |
IntentRequestHandler.handle(HandlerInput input,
IntentRequest intentRequest)
Handles the request.
|
Optional<Response> |
LaunchRequestHandler.handle(HandlerInput input,
LaunchRequest launchRequest)
Handles the request.
|
Optional<Response> |
ListCreatedEventRequestHandler.handle(HandlerInput input,
ListCreatedEventRequest listCreatedEventRequest)
Handles the request.
|
Optional<Response> |
ListDeletedEventRequestHandler.handle(HandlerInput input,
ListDeletedEventRequest listDeletedEventRequest)
Handles the request.
|
Optional<Response> |
ListItemsCreatedEventRequestHandler.handle(HandlerInput input,
ListItemsCreatedEventRequest listItemsCreatedEventRequest)
Handles the request.
|
Optional<Response> |
ListItemsDeletedEventRequestHandler.handle(HandlerInput input,
ListItemsDeletedEventRequest listItemsDeletedEventRequest)
Handles the request.
|
Optional<Response> |
ListItemsUpdatedEventRequestHandler.handle(HandlerInput input,
ListItemsUpdatedEventRequest listItemsUpdatedEventRequest)
Handles the request.
|
Optional<Response> |
ListUpdatedEventRequestHandler.handle(HandlerInput input,
ListUpdatedEventRequest listUpdatedEventRequest)
Handles the request.
|
Optional<Response> |
LoadIndexListDataEventHandler.handle(HandlerInput input,
LoadIndexListDataEvent loadIndexListDataEvent)
Handles the request.
|
Optional<Response> |
LoadTokenListDataEventHandler.handle(HandlerInput input,
LoadTokenListDataEvent loadTokenListDataEvent)
Handles the request.
|
Optional<Response> |
MessageReceivedRequestHandler.handle(HandlerInput input,
MessageReceivedRequest messageReceivedRequest)
Handles the request.
|
Optional<Response> |
MessageRequestHandler.handle(HandlerInput input,
MessageRequest messageRequest)
Handles the request.
|
Optional<Response> |
NextCommandIssuedRequestHandler.handle(HandlerInput input,
NextCommandIssuedRequest nextCommandIssuedRequest)
Handles the request.
|
Optional<Response> |
NotificationSubscriptionChangedRequestHandler.handle(HandlerInput input,
NotificationSubscriptionChangedRequest notificationSubscriptionChangedRequest)
Handles the request.
|
Optional<Response> |
PauseCommandIssuedRequestHandler.handle(HandlerInput input,
PauseCommandIssuedRequest pauseCommandIssuedRequest)
Handles the request.
|
Optional<Response> |
PermissionAcceptedRequestHandler.handle(HandlerInput input,
PermissionAcceptedRequest permissionAcceptedRequest)
Handles the request.
|
Optional<Response> |
PermissionChangedRequestHandler.handle(HandlerInput input,
PermissionChangedRequest permissionChangedRequest)
Handles the request.
|
Optional<Response> |
PlaybackFailedRequestHandler.handle(HandlerInput input,
PlaybackFailedRequest playbackFailedRequest)
Handles the request.
|
Optional<Response> |
PlaybackFinishedRequestHandler.handle(HandlerInput input,
PlaybackFinishedRequest playbackFinishedRequest)
Handles the request.
|
Optional<Response> |
PlaybackNearlyFinishedRequestHandler.handle(HandlerInput input,
PlaybackNearlyFinishedRequest playbackNearlyFinishedRequest)
Handles the request.
|
Optional<Response> |
PlaybackStartedRequestHandler.handle(HandlerInput input,
PlaybackStartedRequest playbackStartedRequest)
Handles the request.
|
Optional<Response> |
PlaybackStoppedRequestHandler.handle(HandlerInput input,
PlaybackStoppedRequest playbackStoppedRequest)
Handles the request.
|
Optional<Response> |
PlayCommandIssuedRequestHandler.handle(HandlerInput input,
PlayCommandIssuedRequest playCommandIssuedRequest)
Handles the request.
|
Optional<Response> |
PreviousCommandIssuedRequestHandler.handle(HandlerInput input,
PreviousCommandIssuedRequest previousCommandIssuedRequest)
Handles the request.
|
Optional<Response> |
ProactiveSubscriptionChangedRequestHandler.handle(HandlerInput input,
ProactiveSubscriptionChangedRequest proactiveSubscriptionChangedRequest)
Handles the request.
|
Optional<Response> |
ReminderCreatedEventRequestHandler.handle(HandlerInput input,
ReminderCreatedEventRequest reminderCreatedEventRequest)
Handles the request.
|
Optional<Response> |
ReminderDeletedEventRequestHandler.handle(HandlerInput input,
ReminderDeletedEventRequest reminderDeletedEventRequest)
Handles the request.
|
Optional<Response> |
ReminderStartedEventRequestHandler.handle(HandlerInput input,
ReminderStartedEventRequest reminderStartedEventRequest)
Handles the request.
|
Optional<Response> |
ReminderStatusChangedEventRequestHandler.handle(HandlerInput input,
ReminderStatusChangedEventRequest reminderStatusChangedEventRequest)
Handles the request.
|
Optional<Response> |
ReminderUpdatedEventRequestHandler.handle(HandlerInput input,
ReminderUpdatedEventRequest reminderUpdatedEventRequest)
Handles the request.
|
Optional<Response> |
RuntimeErrorEventHandler.handle(HandlerInput input,
RuntimeErrorEvent runtimeErrorEvent)
Handles the request.
|
Optional<Response> |
AplARuntimeErrorEventHandler.handle(HandlerInput input,
RuntimeErrorEvent runtimeErrorEvent)
Handles the request.
|
Optional<Response> |
RuntimeErrorRequestHandler.handle(HandlerInput input,
RuntimeErrorRequest runtimeErrorRequest)
Handles the request.
|
Optional<Response> |
SessionEndedRequestHandler.handle(HandlerInput input,
SessionEndedRequest sessionEndedRequest)
Handles the request.
|
Optional<Response> |
SessionResumedRequestHandler.handle(HandlerInput input,
SessionResumedRequest sessionResumedRequest)
Handles the request.
|
Optional<Response> |
SkillDisabledRequestHandler.handle(HandlerInput input,
SkillDisabledRequest skillDisabledRequest)
Handles the request.
|
Optional<Response> |
SkillEnabledRequestHandler.handle(HandlerInput input,
SkillEnabledRequest skillEnabledRequest)
Handles the request.
|
Optional<Response> |
UpdateRequestHandler.handle(HandlerInput input,
UpdateRequest updateRequest)
Handles the request.
|
Optional<Response> |
UsagesInstalledHandler.handle(HandlerInput input,
UsagesInstalled usagesInstalled)
Handles the request.
|
Optional<Response> |
UsagesRemovedHandler.handle(HandlerInput input,
UsagesRemoved usagesRemoved)
Handles the request.
|
Optional<Response> |
AplTUserEventHandler.handle(HandlerInput input,
UserEvent userEvent)
Handles the request.
|
Optional<Response> |
UserEventHandler.handle(HandlerInput input,
UserEvent userEvent)
Handles the request.
|
Constructor and Description |
---|
DefaultRequestMapper(List<BaseRequestHandlerChain<HandlerInput,Optional<Response>>> handlerChains)
Deprecated.
Constructor for DefaultRequestMapper.
|
Modifier and Type | Method and Description |
---|---|
List<GenericHandlerAdapter<HandlerInput,Optional<Response>>> |
SdkModuleContext.getHandlerAdapter()
Getter for Handler Adapters.
|
List<GenericRequestInterceptor<HandlerInput>> |
SdkModuleContext.getRequestInterceptors()
Getter for Request interceptors.
|
List<GenericRequestMapper<HandlerInput,Optional<Response>>> |
SdkModuleContext.getRequestMappers()
Getter for Request Mappers.
|
List<GenericResponseInterceptor<HandlerInput,Optional<Response>>> |
SdkModuleContext.getResponseInterceptors()
Getter for Response interceptors.
|
Modifier and Type | Method and Description |
---|---|
SdkModuleContext |
SdkModuleContext.addHandlerAdapter(GenericHandlerAdapter<HandlerInput,Optional<Response>> handlerAdapter)
Adds handler adapter to SkillConfiguration Builder.
|
SdkModuleContext |
SdkModuleContext.addHandlerAdapters(List<GenericHandlerAdapter<HandlerInput,Optional<Response>>> handlerAdapter)
Adds multiple handler adapters to SkillConfiguration Builder.
|
SdkModuleContext |
SdkModuleContext.addRequestInterceptor(GenericRequestInterceptor<HandlerInput> requestInterceptor)
Adds Request interceptor to SkillConfiguration Builder.
|
SdkModuleContext |
SdkModuleContext.addRequestMapper(GenericRequestMapper<HandlerInput,Optional<Response>> requestMapper)
Adds request mapper to SkillConfiguration Builder.
|
SdkModuleContext |
SdkModuleContext.addRequestMappers(List<GenericRequestMapper<HandlerInput,Optional<Response>>> requestMapper)
Adds multiple request mappers to SkillConfiguration Builder.
|
SdkModuleContext |
SdkModuleContext.addResponseInterceptor(GenericResponseInterceptor<HandlerInput,Optional<Response>> responseInterceptor)
Adds Response interceptor to SkillConfiguration Builder.
|
SdkModuleContext |
SdkModuleContext.setExceptionMapper(GenericExceptionMapper<HandlerInput,Optional<Response>> exceptionMapper)
Adds exception mapper to SkillConfiguration Builder.
|
Modifier and Type | Method and Description |
---|---|
static Predicate<HandlerInput> |
Predicates.canFulfillIntentName(String intentName)
Returns a predicate that returns to true if the incoming request is an
CanFulfillIntentRequest
for the given intent name. |
static Predicate<HandlerInput> |
Predicates.canFulfillSlotValue(String slotName,
String slotValue)
Returns a predicate that returns to true if the incoming request is an
CanFulfillIntentRequest
and contains the given slot name and value. |
static Predicate<HandlerInput> |
Predicates.intentName(String intentName)
Returns a predicate that returns to true if the incoming request is an
IntentRequest
for the given intent name. |
static Predicate<HandlerInput> |
Predicates.persistentAttribute(String key,
Object value)
Returns a predicate that returns to true if the persistent attributes included with the
HandlerInput
contain the expected attribute value. |
static Predicate<HandlerInput> |
Predicates.requestAttribute(String key,
Object value)
Returns a predicate that returns to true if the request attributes included with the
HandlerInput
contain the expected attribute value. |
static <T extends Request> |
Predicates.requestType(Class<T> requestType)
Returns a predicate that returns to true if the incoming request is an instance
of the given request class.
|
static Predicate<HandlerInput> |
Predicates.selectedElementToken(String elementToken)
Returns a predicate that returns to true if the incoming request is an
ElementSelectedRequest
with the given token. |
static Predicate<HandlerInput> |
Predicates.sessionAttribute(String key,
Object value)
Returns a predicate that returns to true if session attributes are included with the
HandlerInput
and contain the expected attribute value. |
static Predicate<HandlerInput> |
Predicates.slotValue(String slotName,
String slotValue)
Returns a predicate that returns to true if the incoming request is an
IntentRequest
and contains the given slot name and value. |
static Predicate<HandlerInput> |
Predicates.viewportProfile(ViewportProfile viewportProfile)
Returns a predicate that returns to true if the viewport profile included with
HandlerInput
contain any of the predefined viewport profiles. |
Modifier and Type | Method and Description |
---|---|
static RequestHelper |
RequestHelper.forHandlerInput(HandlerInput input)
Creates an
RequestHelper instance against the provided handler input. |
Modifier and Type | Field and Description |
---|---|
protected HandlerInput |
LocaleTemplateEnumerator.handlerInput
HandlerInput.
|
Modifier and Type | Method and Description |
---|---|
LocaleTemplateEnumerator.Builder |
LocaleTemplateEnumerator.Builder.withHandlerInput(HandlerInput handlerInput)
Adds HandlerInput to LocaleTemplateEnumerator.
|
Constructor and Description |
---|
LocaleTemplateEnumerator(String templateName,
HandlerInput handlerInput)
Constructor for LocaleTemplateEnumerator.
|
Constructor and Description |
---|
LocalTemplateFileLoader(String directoryPath,
String fileExtension,
ClassLoader classLoader,
TemplateCache templateCache,
BiFunction<String,HandlerInput,TemplateEnumerator<HandlerInput>> templateEnumeratorSupplier)
Constructor for LocalTemplateFileLoader.
|
LocalTemplateFileLoader(String directoryPath,
String fileExtension,
ClassLoader classLoader,
TemplateCache templateCache,
BiFunction<String,HandlerInput,TemplateEnumerator<HandlerInput>> templateEnumeratorSupplier)
Constructor for LocalTemplateFileLoader.
|
Copyright © 2023. All rights reserved.