java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.ws.Message
All Implemented Interfaces:
MutinyDelegate

public class Message extends Object implements MutinyDelegate
A GraphQL over WebSocket Protocol message.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

See Also:
  • Message
  • Field Details

  • Constructor Details

    • Message

      public Message(io.vertx.ext.web.handler.graphql.ws.Message delegate)
      Create a new instance of Message delegating to the given (non-null) instance of Message.
    • Message

      public Message(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.handler.graphql.ws.Message getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • socket

      public ServerWebSocket socket()
      Returns:
      the websocket that received the message
    • type

      public io.vertx.ext.web.handler.graphql.ws.MessageType type()
      Returns:
      the message type
    • message

      public io.vertx.core.json.JsonObject message()
      Returns:
      the message content
    • connectionParams

      public Object connectionParams()
      Returns:
      the connection params
    • newInstance

      public static Message newInstance(io.vertx.ext.web.handler.graphql.ws.Message delegate)
      Creates a new instance of the Message.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object