title: How can I estabilish the connection to Java websocket server(using vert.x 3.2.1)?
body: <p>I'm trying to understand vert.x framework and to create webSocket server and client(using Java). In <a href="http://vertx.io/docs/vertx-core/java/#_writing_http_servers_and_clients" rel="noreferrer">this tutorial</a> I see small examples, but I don't understand how handler and websocket handler works.Also I don't understand how to organize session with message-changing between server and client. There is such example in tutorial for http-server, which uses websocket:</p>
  
  <pre><code>HttpServer server = Vertx.vertx().createHttpServer();
          server.websocketHandler(websocket -&gt; {
              System.out.println("Connected!");
          }).listen(8080,"localhost");
  </code></pre>
  
  <p>Idea compiled id, but I don't see "Connected!" in terminal and don't know if it works. Are there any informative tutorials in internet about it? </p>