Class MetaImpl

java.lang.Object
io.quarkiverse.mcp.server.runtime.MetaImpl
All Implemented Interfaces:
Meta

public class MetaImpl extends Object implements Meta
  • Method Details

    • getValue

      public Object getValue(MetaKey key)
      Specified by:
      getValue in interface Meta
      Returns:
      the value for the given key, or null
    • asJsonObject

      public io.vertx.core.json.JsonObject asJsonObject()
      Description copied from interface: Meta
      If _meta is not present then an empty JsonObject is returned.
      Specified by:
      asJsonObject in interface Meta
      Returns:
      the JSON representation of _meta, never null