@Singleton
public class DefaultSessionEndedRequestHandler
extends java.lang.Object
implements com.amazon.ask.dispatcher.request.handler.RequestHandler
Constructor and Description |
---|
DefaultSessionEndedRequestHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(com.amazon.ask.dispatcher.request.handler.HandlerInput input) |
java.util.Optional<com.amazon.ask.model.Response> |
handle(com.amazon.ask.dispatcher.request.handler.HandlerInput input) |
public boolean canHandle(com.amazon.ask.dispatcher.request.handler.HandlerInput input)
canHandle
in interface com.amazon.ask.request.handler.GenericRequestHandler<com.amazon.ask.dispatcher.request.handler.HandlerInput,java.util.Optional<com.amazon.ask.model.Response>>
public java.util.Optional<com.amazon.ask.model.Response> handle(com.amazon.ask.dispatcher.request.handler.HandlerInput input)
handle
in interface com.amazon.ask.request.handler.GenericRequestHandler<com.amazon.ask.dispatcher.request.handler.HandlerInput,java.util.Optional<com.amazon.ask.model.Response>>