get会话(Session)

fun getSession(key: SessionKey, config: GetSessionConfig? = null, coroutineContext: CoroutineContext = EmptyCoroutineContext): CompletableFuture<Session?>

Calls SessionService.getSession; the future completes with null if there is no session.