@Test public void webSocket_configureWebSocket_noException() { try { server.configureWebSockets(null, Optional.of(0)); } catch (Exception e) { e.printStackTrace(); fail(); } }
public void configureWebSockets(Map<String, WebSocketHandlerWrapper> webSocketHandlers, Optional<Integer> webSocketIdleTimeoutMillis) { log.info("Spark called configureWebSockets. However, web sockets are not supported"); }
LambdaEmbeddedServer implements EmbeddedServer { public void configureWebSockets(Map<String, WebSocketHandlerWrapper> webSocketHandlers, Optional<Integer> webSocketIdleTimeoutMillis) { log.info("Spark called configureWebSockets. However, web sockets are not supported"); } }
LambdaEmbeddedServer implements EmbeddedServer { public void configureWebSockets(Map<String, WebSocketHandlerWrapper> webSocketHandlers, Optional<Integer> webSocketIdleTimeoutMillis) { log.info("Spark called configureWebSockets. However, web sockets are not supported"); } LambdaEmbeddedServer(Routes routes, StaticFilesConfiguration filesConfig, ExceptionMapper exceptionMapper, boolean multipleHandlers); }
LambdaEmbeddedServer implements EmbeddedServer { public void configureWebSockets(Map<String, WebSocketHandlerWrapper> webSocketHandlers, Optional<Integer> webSocketIdleTimeoutMillis) { log.info("Spark called configureWebSockets. However, web sockets are not supported"); } LambdaEmbeddedServer(Routes routes, StaticFilesConfiguration filesConfig, ExceptionMapper exceptionMapper, boolean multipleHandlers); @Override int ignite(String host, int port, SslStores sslStores, int maxThreads, int minThreads, int threadIdleTimeoutMillis); void configureWebSockets(Map<String, WebSocketHandlerWrapper> webSocketHandlers,
                                    Optional<Integer> webSocketIdleTimeoutMillis); @Override void join(); @Override void extinguish(); @Override int activeThreadCount(); Filter getSparkFilter(); }
LambdaEmbeddedServer implements EmbeddedServer { public void configureWebSockets(Map<String, WebSocketHandlerWrapper> webSocketHandlers, Optional<Integer> webSocketIdleTimeoutMillis) { log.info("Spark called configureWebSockets. However, web sockets are not supported"); } LambdaEmbeddedServer(Routes routes, StaticFilesConfiguration filesConfig, ExceptionMapper exceptionMapper, boolean multipleHandlers); @Override int ignite(String host, int port, SslStores sslStores, int maxThreads, int minThreads, int threadIdleTimeoutMillis); void configureWebSockets(Map<String, WebSocketHandlerWrapper> webSocketHandlers,
                                    Optional<Integer> webSocketIdleTimeoutMillis); @Override void join(); @Override void extinguish(); @Override int activeThreadCount(); Filter getSparkFilter();  }