Created
February 3, 2020 18:55
-
-
Save kinisoftware/bfacf122ee738065fade26bc085c3b66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SessionEndedRequestHandler : RequestHandler { | |
| override fun canHandle(input: HandlerInput): Boolean { | |
| return input.matches(Predicates.requestType(SessionEndedRequest::class.java)) | |
| } | |
| override fun handle(input: HandlerInput): Optional<Response> { | |
| return input.responseBuilder.build() | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment