Class IO


  • public class IO
    extends java.lang.Object
    Input/Output operations for streams produced by DevTools.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  IO.ReadResponse  
    • Constructor Summary

      Constructors 
      Constructor Description
      IO()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> close​(StreamHandle handle)
      Close the stream, discard any temporary backing storage.
      static org.openqa.selenium.devtools.Command<IO.ReadResponse> read​(StreamHandle handle, java.util.Optional<java.lang.Integer> offset, java.util.Optional<java.lang.Integer> size)
      Read a chunk of the stream
      static org.openqa.selenium.devtools.Command<java.lang.String> resolveBlob​(RemoteObjectId objectId)
      Return UUID of Blob object specified by a remote object id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IO

        public IO()
    • Method Detail

      • close

        public static org.openqa.selenium.devtools.Command<java.lang.Void> close​(StreamHandle handle)
        Close the stream, discard any temporary backing storage.
      • read

        public static org.openqa.selenium.devtools.Command<IO.ReadResponse> read​(StreamHandle handle,
                                                                                 java.util.Optional<java.lang.Integer> offset,
                                                                                 java.util.Optional<java.lang.Integer> size)
        Read a chunk of the stream
      • resolveBlob

        public static org.openqa.selenium.devtools.Command<java.lang.String> resolveBlob​(RemoteObjectId objectId)
        Return UUID of Blob object specified by a remote object id.