-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
This test fails - as the default port (:80) is missing inside of the URI
@Test
public void websocketORG() throws IOException, DeploymentException, URISyntaxException {
final WebSocketContainer container = ContainerProvider.getWebSocketContainer();
final URI securedEndpointURL = new URI("ws://echo.websocket.org"); // hrm, I really have to specify a port here ?
container.connectToServer(new Endpoint() {
@Override
public void onOpen(Session session, EndpointConfig config) {
System.out.println("Connected!!!!!");
}
},
ClientEndpointConfig.Builder.create().build(), // for some reason I have to provide that default config; Not so w/ Tyrus
securedEndpointURL);
}
Wouldn't it be nice if 443 and 80 are provided by default for users convenience ?