Class CallArgument


  • public class CallArgument
    extends java.lang.Object
    Represents function call argument. Either remote object id `objectId`, primitive `value`, unserializable primitive value or neither of (for undefined) them should be specified.
    • Constructor Detail

      • CallArgument

        public CallArgument​(java.util.Optional<java.lang.Object> value,
                            java.util.Optional<UnserializableValue> unserializableValue,
                            java.util.Optional<RemoteObjectId> objectId)
    • Method Detail

      • getValue

        public java.util.Optional<java.lang.Object> getValue()
        Primitive value or serializable javascript object.
      • getUnserializableValue

        public java.util.Optional<UnserializableValue> getUnserializableValue()
        Primitive value which can not be JSON-stringified.
      • getObjectId

        public java.util.Optional<RemoteObjectId> getObjectId()
        Remote object handle.