Class VertxWebsocketEndpointBuilderFactory.VertxWebsocketHeaderNameBuilder

  • Enclosing interface:
    VertxWebsocketEndpointBuilderFactory

    public static class VertxWebsocketEndpointBuilderFactory.VertxWebsocketHeaderNameBuilder
    extends Object
    The builder of headers' name for the Vert.x WebSocket component.
    • Constructor Detail

      • VertxWebsocketHeaderNameBuilder

        public VertxWebsocketHeaderNameBuilder()
    • Method Detail

      • vertxwebsocketConnectionkey

        public String vertxwebsocketConnectionkey()
        Sends the message to the client with the given connection key. You can use a comma separated list of keys to send a message to multiple clients. The option is a: String type. Group: common
        Returns:
        the name of the header VertxWebsocket.connectionKey.
      • vertxwebsocketSendtoall

        public String vertxwebsocketSendtoall()
        Sends the message to all clients which are currently connected. You can use the sendToAll option on the endpoint instead of using this header. The option is a: boolean type. Group: producer
        Returns:
        the name of the header VertxWebsocket.sendToAll.
      • vertxwebsocketRemoteaddress

        public String vertxwebsocketRemoteaddress()
        The remote address. The option is a: io.vertx.core.net.SocketAddress type. Group: consumer
        Returns:
        the name of the header VertxWebsocket.remoteAddress.