org.springframework.web.socket.client.jetty.JettyWebSocketClient Java Examples
The following examples show how to use
org.springframework.web.socket.client.jetty.JettyWebSocketClient.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WebSocketConfigurationTests.java From spring-analysis-note with MIT License | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Iterable<Object[]> arguments() { return Arrays.asList(new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new StandardWebSocketClient()} }); }
Example #2
Source File: StompWebSocketIntegrationTests.java From spring-analysis-note with MIT License | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Object[][] arguments() { return new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new StandardWebSocketClient()} }; }
Example #3
Source File: WebSocketHandshakeTests.java From spring-analysis-note with MIT License | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Iterable<Object[]> arguments() { return Arrays.asList(new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new JettyWebSocketClient()} }); }
Example #4
Source File: WebSocketConfigurationTests.java From java-technology-stack with MIT License | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Iterable<Object[]> arguments() { return Arrays.asList(new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new StandardWebSocketClient()} }); }
Example #5
Source File: StompWebSocketIntegrationTests.java From java-technology-stack with MIT License | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Object[][] arguments() { return new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new StandardWebSocketClient()} }; }
Example #6
Source File: WebSocketHandshakeTests.java From java-technology-stack with MIT License | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Iterable<Object[]> arguments() { return Arrays.asList(new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new JettyWebSocketClient()} }); }
Example #7
Source File: NodeServiceImpl.java From java-trader with Apache License 2.0 | 5 votes |
private WebSocketConnectionManager createWsConnectionManager(String url){ String wsUrl = url; SslContextFactory sslContextFactory = new SslContextFactory(true); WebSocketClient jettyWsClient = new WebSocketClient(sslContextFactory); //SystemUtil.asyncExecutor jettyWsClient.getPolicy().setIdleTimeout(10*60*1000); JettyWebSocketClient wsClient = new JettyWebSocketClient(jettyWsClient); return new WebSocketConnectionManager(wsClient, this, wsUrl); }
Example #8
Source File: WebSocketIntegrationTests.java From spring4-understanding with Apache License 2.0 | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Iterable<Object[]> arguments() { return Arrays.asList(new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new JettyWebSocketClient()} }); }
Example #9
Source File: WebSocketConfigurationTests.java From spring4-understanding with Apache License 2.0 | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Iterable<Object[]> arguments() { return Arrays.asList(new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new StandardWebSocketClient()} }); }
Example #10
Source File: StompWebSocketIntegrationTests.java From spring4-understanding with Apache License 2.0 | 5 votes |
@Parameters(name = "server [{0}], client [{1}]") public static Object[][] arguments() { return new Object[][] { {new JettyWebSocketTestServer(), new JettyWebSocketClient()}, {new TomcatWebSocketTestServer(), new StandardWebSocketClient()}, {new UndertowTestServer(), new StandardWebSocketClient()} }; }
Example #11
Source File: JettySockJsIntegrationTests.java From spring-analysis-note with MIT License | 4 votes |
@Override protected Transport createWebSocketTransport() { return new WebSocketTransport(new JettyWebSocketClient()); }
Example #12
Source File: JettySockJsIntegrationTests.java From java-technology-stack with MIT License | 4 votes |
@Override protected Transport createWebSocketTransport() { return new WebSocketTransport(new JettyWebSocketClient()); }
Example #13
Source File: JettySockJsIntegrationTests.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override protected Transport createWebSocketTransport() { return new WebSocketTransport(new JettyWebSocketClient()); }