title: javax websocket client with access token
body: <p>Can someone please provide me simple example of webocket client with access token using javax.websocket?</p>
  
  <p>I want to connect to websocket, send message and listen to messages. All messages are in JSON format.</p>
  
  <p>(sorry for dumb question, I'm learning Java, thanks)</p>
  
  <p><a href="https://stackoverflow.com/questions/26452903/javax-websocket-client-simple-example">javax.websocket client simple example</a>
  is the very similar, but it doesn't use access token.</p>
  
  <p>Thanks.</p>