Class RemoteObject


  • public class RemoteObject
    extends java.lang.Object
    Mirror object referencing original JavaScript object.
    • Method Detail

      • getSubtype

        public java.util.Optional<RemoteObject.Subtype> getSubtype()
        Object subtype hint. Specified for `object` or `wasm` type values only.
      • getClassName

        public java.util.Optional<java.lang.String> getClassName()
        Object class (constructor) name. Specified for `object` type values only.
      • getValue

        public java.util.Optional<java.lang.Object> getValue()
        Remote object value in case of primitive values or JSON values (if it was requested).
      • getUnserializableValue

        public java.util.Optional<UnserializableValue> getUnserializableValue()
        Primitive value which can not be JSON-stringified does not have `value`, but gets this property.
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        String representation of the object.
      • getObjectId

        public java.util.Optional<RemoteObjectId> getObjectId()
        Unique object identifier (for non-primitive values).
      • getPreview

        @Beta
        public java.util.Optional<ObjectPreview> getPreview()
        Preview containing abbreviated property values. Specified for `object` type values only.
      • getCustomPreview

        @Beta
        public java.util.Optional<CustomPreview> getCustomPreview()