Class VertxWebsocketEndpointBuilderFactory.VertxWebsocketHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.VertxWebsocketEndpointBuilderFactory.VertxWebsocketHeaderNameBuilder
-
- Enclosing interface:
- VertxWebsocketEndpointBuilderFactory
public static class VertxWebsocketEndpointBuilderFactory.VertxWebsocketHeaderNameBuilder extends Object
The builder of headers' name for the Vert.x WebSocket component.
-
-
Constructor Summary
Constructors Constructor Description VertxWebsocketHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringvertxwebsocketConnectionkey()Sends the message to the client with the given connection key.StringvertxwebsocketRemoteaddress()The remote address.StringvertxwebsocketSendtoall()Sends the message to all clients which are currently connected.
-
-
-
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:Stringtype. 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:booleantype. 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.SocketAddresstype. Group: consumer- Returns:
- the name of the header
VertxWebsocket.remoteAddress.
-
-