Skip to content

Commit cd10171

Browse files
nprieberstoyanchev
authored andcommitted
Make WebSocketConnectionManager#isConnected public
See gh-28785
1 parent 597c687 commit cd10171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-websocket/src/main/java/org/springframework/web/socket/client/WebSocketConnectionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ protected void closeConnection() throws Exception {
160160
}
161161

162162
@Override
163-
protected boolean isConnected() {
163+
public boolean isConnected() {
164164
return (this.webSocketSession != null && this.webSocketSession.isOpen());
165165
}
166166

0 commit comments

Comments
 (0)