Commit f6d9350
Fix
The `HandshakeHandler` is really optional in the `WebSocketHandlerRegistration`.
So, check `if (this.handshakeHandler != null)` before calling `registration.setHandshakeHandler()`
(cherry picked from commit ec8e1b1)ServerWebSocketContainer for optional handshakeHandler
1 parent 523d1d0 commit f6d9350
File tree
1 file changed
+8
-9
lines changed- spring-integration-websocket/src/main/java/org/springframework/integration/websocket
1 file changed
+8
-9
lines changedLines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
168 | 169 | | |
169 | | - | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
172 | 173 | | |
173 | | - | |
174 | | - | |
175 | | - | |
| 174 | + | |
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
| |||
0 commit comments