Spring Session 2.0.0.M2 w/ Boot Samples

This is necessary because the current version of Spring Session is not
compatible with Boot 2.0.0.M2 and we cannot release against the SNAPSHOTs

Issue gh-833
This commit is contained in:
Rob Winch
2017-07-18 20:07:43 -05:00
parent 8dd1a10f1b
commit 8bdcba6e50
9 changed files with 24 additions and 34 deletions

View File

@@ -23,7 +23,7 @@ import sample.websocket.WebSocketDisconnectHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.simp.SimpMessageSendingOperations;
import org.springframework.session.Session;
import org.springframework.session.ExpiringSession;
/**
* These handlers are separated from WebSocketConfig because they are specific to this
@@ -32,7 +32,7 @@ import org.springframework.session.Session;
* @author Rob Winch
*/
@Configuration
public class WebSocketHandlersConfig<S extends Session> {
public class WebSocketHandlersConfig<S extends ExpiringSession> {
@Bean
public WebSocketConnectHandler<S> webSocketConnectHandler(