-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
In this test I have to provide a default ClientEndpointConfig object
@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 the default configuration is provided for users convenience ?