Allow modifying HandshakeInterceptor list
The getter in TransportHandlingSockJsService now returns a mutable List. The immutable wrapper doesn't make sense since it's possible anyway to modify the list by creating a new list and calling the setter again. It's also consistent with the same field on WebSocketHttpRequestHandler. This is related to work for SPR-12845.
This commit is contained in:
parent
b620f34ad8
commit
e81862eed6
|
@ -146,7 +146,7 @@ public class TransportHandlingSockJsService extends AbstractSockJsService implem
|
||||||
* Return the configured WebSocket handshake request interceptors.
|
* Return the configured WebSocket handshake request interceptors.
|
||||||
*/
|
*/
|
||||||
public List<HandshakeInterceptor> getHandshakeInterceptors() {
|
public List<HandshakeInterceptor> getHandshakeInterceptors() {
|
||||||
return Collections.unmodifiableList(this.interceptors);
|
return this.interceptors;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue