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 Summary

      Constructors 
      Constructor Description
      CallArgument​(java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> value, java.util.Optional<UnserializableValue> unserializableValue, java.util.Optional<RemoteObjectId> objectId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<RemoteObjectId> getObjectId()
      Remote object handle.
      java.util.Optional<UnserializableValue> getUnserializableValue()
      Primitive value which can not be JSON-stringified.
      java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getValue()
      Primitive value or serializable javascript object.
      • Methods inherited from class java.lang.Object

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

      • CallArgument

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

      • getValue

        public java.util.Optional<java.util.Map<java.lang.String,​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.