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:
Rossen Stoyanchev
2013-08-02 12:23:48 -04:00
parent c26272cef6
commit 0d5901ffb6
26 changed files with 258 additions and 353 deletions

View File

@@ -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