private Result sessionNotFound ( String sessionId , String targetPath ) { if ( sessionLoader != null && sessionLoader . apply ( sessionId ) ) { if ( targetPath != null ) { return temporaryRedirect ( "./" + targetPath ) ; } else { return ok ( ) ; } } else { return notFound ( "Unknown session ID: " + sessionId ) ; } }
Load StatsStorage via provider or return not found