essage, Session session) {
     System.out.println("Greeting received:" + message);
 }
 </code>
 </pre>

 For example:

 <pre>
 <code>
 &#64;OnMessage
 public void processUpload(byte[] b, boolean last, Session session) {
     // process partial data here, which check on last to see if these is more on the way
 }
 </code>
 </pre>

 Developers should not continue to reference message objects of type <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interf