Remove isStreaming flag from AbstractHttpSockJsSession
This change removes the need for the isStreaming field from the base
class AbstractHttpSockJsSession. This field was used to account for
differences between polling vs streaming SockJS sessions without having
to expose to sub-classes private fields that are otherwise protected
from concurrent access by the base class. The change manages to delegate
to sub-classes without providing direct access to protected fields.
Issue: SPR-12427
@ -40,11 +43,31 @@ public class PollingSockJsSession extends AbstractHttpSockJsSession {
@@ -40,11 +43,31 @@ public class PollingSockJsSession extends AbstractHttpSockJsSession {
@ -54,6 +77,7 @@ public class PollingSockJsSession extends AbstractHttpSockJsSession {
@@ -54,6 +77,7 @@ public class PollingSockJsSession extends AbstractHttpSockJsSession {
@ -42,11 +45,26 @@ public class StreamingSockJsSession extends AbstractHttpSockJsSession {
@@ -42,11 +45,26 @@ public class StreamingSockJsSession extends AbstractHttpSockJsSession {
@ -102,7 +102,7 @@ public class HttpSockJsSessionTests extends AbstractSockJsSessionTests<TestAbstr
@@ -102,7 +102,7 @@ public class HttpSockJsSessionTests extends AbstractSockJsSessionTests<TestAbstr