@ POST @ Consumes ( MediaType . WILDCARD ) public void setStreamContents ( InputStream data ) throws GuacamoleException { // Send input over stream tunnel . interceptStream ( streamIndex , data ) ; }
Intercepts the stream represented by this StreamResource sending the contents of the given InputStream over that stream as blob instructions .