Polish Cookie abstraction in http packge of spring-web
A getCookies method is now available on ServerHttpRequest with one ServletServerCookie implementation that wraps a Servlet cookie. The SockJS service makes use of this to check for an existing session cookie in the request.
This commit is contained in:
@@ -40,17 +40,13 @@ public class SubProtocolWebSocketHandlerTests {
|
||||
|
||||
private TestWebSocketSession session;
|
||||
|
||||
@Mock
|
||||
SubProtocolHandler stompHandler;
|
||||
@Mock SubProtocolHandler stompHandler;
|
||||
|
||||
@Mock
|
||||
SubProtocolHandler mqttHandler;
|
||||
@Mock SubProtocolHandler mqttHandler;
|
||||
|
||||
@Mock
|
||||
SubProtocolHandler defaultHandler;
|
||||
@Mock SubProtocolHandler defaultHandler;
|
||||
|
||||
@Mock
|
||||
MessageChannel channel;
|
||||
@Mock MessageChannel channel;
|
||||
|
||||
|
||||
@Before
|
||||
|
||||
Reference in New Issue
Block a user