/** * Extracts the session id from the current request ({@code exchange}). * * @param exchange * @return */ default String retrieveSessionIdFrom(HttpServerExchange exchange ) { return retrieveSessionIdFrom( exchange, () -> createNewSessionId(exchange) ); }