Skip to content

feat: add WebSocket extension - #1547

Open
jlouvel wants to merge 6 commits into
3.0from
feat/rpc-c8-websocket
Open

jlouvel wants to merge 6 commits into
3.0from
feat/rpc-c8-websocket

fix: address SonarCloud findings on WebSocket extension

8fae7ac
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 20, 2026 in 1m 8s

Annotations

Check warning on line 99 in org.restlet.ext.websocket/src/main/java/org/restlet/ext/websocket/internal/NettyWebSocketConnector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 8 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaFRabBwDyq7mXZUnLEY&open=AaFRabBwDyq7mXZUnLEY&pullRequest=1547

Check warning on line 25 in org.restlet.ext.websocket/src/main/java/org/restlet/ext/websocket/WebSocketHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaFQTJBibbm1AbGOQYaI&open=AaFQTJBibbm1AbGOQYaI&pullRequest=1547

Check warning on line 183 in org.restlet.ext.websocket/src/test/java/org/restlet/ext/websocket/WebSocketSessionTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaFRI7xWidhKYWVJyiOK&open=AaFRI7xWidhKYWVJyiOK&pullRequest=1547

Check warning on line 272 in org.restlet.ext.websocket/src/test/java/org/restlet/ext/websocket/WebSocketTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "Thread.sleep()".

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaFQTJB3bbm1AbGOQYaL&open=AaFQTJB3bbm1AbGOQYaL&pullRequest=1547

Check warning on line 185 in org.restlet.ext.websocket/src/test/java/org/restlet/ext/websocket/WebSocketSessionTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaFRI7xWidhKYWVJyiOJ&open=AaFRI7xWidhKYWVJyiOJ&pullRequest=1547

Check warning on line 138 in org.restlet.ext.websocket/src/test/java/org/restlet/ext/websocket/WebSocketSessionTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "Thread.sleep()".

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaFRI7xWidhKYWVJyiOI&open=AaFRI7xWidhKYWVJyiOI&pullRequest=1547

Check warning on line 37 in org.restlet/src/main/java/org/restlet/engine/netty/NettyConnectionUpgrade.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaFRI7q_idhKYWVJyiN8&open=AaFRI7q_idhKYWVJyiN8&pullRequest=1547