code: @POST
      @Consumes(MediaType.WILDCARD)
      public void setStreamContents(InputStream data) throws GuacamoleException {
  
          // Send input over stream
          tunnel.interceptStream(streamIndex, data);
  
      }
docs: Intercepts the stream represented by this StreamResource, sending the
  contents of the given InputStream over that stream as "blob"
  instructions.
  
  @param data
  An InputStream containing the data to be sent over the intercepted
  stream.
  
  @throws GuacamoleException
  If the intercepted stream closes with an error.