@UriParams public class VertxWebsocketConfiguration extends Object
| Constructor and Description |
|---|
VertxWebsocketConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedOriginPattern() |
io.vertx.core.http.HttpClientOptions |
getClientOptions() |
String |
getClientSubProtocols() |
String |
getHost() |
String |
getPath() |
int |
getPort() |
io.vertx.ext.web.Router |
getRouter() |
io.vertx.core.http.HttpServerOptions |
getServerOptions() |
org.apache.camel.support.jsse.SSLContextParameters |
getSslContextParameters()
To configure security using SSLContextParameters
|
boolean |
isSendToAll() |
void |
setAllowedOriginPattern(String allowedOriginPattern)
Regex pattern to match the origin header sent by WebSocket clients
|
void |
setClientOptions(io.vertx.core.http.HttpClientOptions clientOptions)
Sets customized options for configuring the WebSocket client used in the producer
|
void |
setClientSubProtocols(String clientSubProtocols)
Comma separated list of WebSocket subprotocols that the client should use for the Sec-WebSocket-Protocol header
|
void |
setHost(String host)
The host that the consumer should bind to or the host of the remote websocket destination that the producer
should connect to
|
void |
setPath(String path)
The path that the consumer should bind to or path of the remote websocket destination that the producer should
connect to
|
void |
setPort(int port)
The port that the consumer should bind to or port of the remote websocket destination that the producer should
connect to
|
void |
setRouter(io.vertx.ext.web.Router router)
To use an existing vertx router for the HTTP server
|
void |
setSendToAll(boolean sendToAll)
To send to all websocket subscribers.
|
void |
setServerOptions(io.vertx.core.http.HttpServerOptions serverOptions)
Sets customized options for configuring the HTTP server hosting the WebSocket for the consumer
|
void |
setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) |
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getPath()
public void setClientOptions(io.vertx.core.http.HttpClientOptions clientOptions)
public io.vertx.core.http.HttpServerOptions getServerOptions()
public void setServerOptions(io.vertx.core.http.HttpServerOptions serverOptions)
public void setPath(String path)
public io.vertx.core.http.HttpClientOptions getClientOptions()
public void setSendToAll(boolean sendToAll)
VertxWebsocketConstants.SEND_TO_ALL header on the message.public boolean isSendToAll()
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
public String getAllowedOriginPattern()
public void setAllowedOriginPattern(String allowedOriginPattern)
public io.vertx.ext.web.Router getRouter()
public void setRouter(io.vertx.ext.web.Router router)
public void setClientSubProtocols(String clientSubProtocols)
public String getClientSubProtocols()
Apache Camel