Class ProxyUtil


  • public final class ProxyUtil
    extends Object
    This class provides a default implementation for the graalvm proxy interface methods, to be used by vertx json types.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyUtil()  
    • Constructor Detail

      • ProxyUtil

        public ProxyUtil()
    • Method Detail

      • putMember

        public static void putMember​(io.vertx.core.json.JsonObject self,
                                     String key,
                                     org.graalvm.polyglot.Value value)
      • hasMember

        public static boolean hasMember​(io.vertx.core.json.JsonObject self,
                                        String key)
      • getMemberKeys

        public static Object getMemberKeys​(io.vertx.core.json.JsonObject self)
      • getMember

        public static Object getMember​(io.vertx.core.json.JsonObject self,
                                       String key)
      • removeMember

        public static boolean removeMember​(io.vertx.core.json.JsonObject self,
                                           String key)
      • get

        public static Object get​(io.vertx.core.json.JsonArray self,
                                 long index)
      • set

        public static void set​(io.vertx.core.json.JsonArray self,
                               long index,
                               org.graalvm.polyglot.Value value)
      • getSize

        public static long getSize​(io.vertx.core.json.JsonArray self)
      • remove

        public static boolean remove​(io.vertx.core.json.JsonArray self,
                                     long index)
      • getIterator

        public static Object getIterator​(io.vertx.core.json.JsonArray self)
      • then

        public static void then​(io.vertx.core.Future<?> self,
                                org.graalvm.polyglot.Value onFulfilled,
                                org.graalvm.polyglot.Value onRejected)