Java Code Examples for org.springframework.session.ReactiveMapSessionRepository

The following examples show how to use org.springframework.session.ReactiveMapSessionRepository. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
@Bean
public ReactiveSessionRepository sessionRepository() {
    return new ReactiveMapSessionRepository( new ConcurrentHashMap<>());
}
 
Example 2
@Bean
public ReactiveSessionRepository sessionRepository() {
    return new ReactiveMapSessionRepository(new ConcurrentHashMap<>());
}
 
Example 3
Source Project: spring-session   Source File: SpringWebSessionConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public ReactiveSessionRepository reactiveSessionRepository() {
	return new ReactiveMapSessionRepository(new ConcurrentHashMap<>());
}
 
Example 4
/**
 * Use Reactor-friendly, {@link java.util.Map}-backed
 * {@link ReactiveSessionRepository} for test purposes.
 */
@Bean
ReactiveSessionRepository<?> reactiveSessionRepository() {
	return new ReactiveMapSessionRepository(new HashMap<>());
}
 
Example 5
@Bean
ReactiveSessionRepository<?> reactiveSessionRepository() {
	return new ReactiveMapSessionRepository(new HashMap<>());
}
 
Example 6
Source Project: tutorials   Source File: SessionConfig.java    License: MIT License 4 votes vote down vote up
@Bean
public ReactiveSessionRepository reactiveSessionRepository() {
    return new ReactiveMapSessionRepository(new ConcurrentHashMap<>());
}