package Ġjp . l ion as . ale xa . fund ra . handler Ċ Ċ import Ġcom . amazon . ask . dispatcher . request . handler . Handler Input Ċ import Ġcom . amazon . ask . dispatcher . request . handler . RequestHandler Ċ import Ġcom . amazon . ask . model . Response Ċ import Ġcom . amazon . ask . model . Session Ended Request Ċ Ċ import Ġjava . util . Optional Ċ Ċ import Ġcom . amazon . ask . request . Pred icates . request Type Ċ Ċ class ĠSession Ended RequestHandler Ġ: ĠRequest Handler Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġcan Handle ( handler Input : ĠHandler Input ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġhandler Input . matches ( request Type ( Session Ended Request :: class . java )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġhandle ( handler Input : ĠHandler Input ): ĠOptional < Response > Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġany Ġcleanup Ġlogic Ġgoes Ġhere ĊĠĠĠĠĠĠĠ Ġreturn Ġhandler Input . response Builder . build () ĊĠĠĠ Ġ} Ċ Ċ } Ċ