public final class VertxWebsocketHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static VertxWebsocketHostKey |
createHostKey(VertxWebsocketConfiguration configuration)
Creates a VertxWebsocketHostKey from a given VertxWebsocketConfiguration
|
static String |
extractHostName(String remaining)
Extracts the host name from the endpoint URI path or returns the Vert.x default HTTP server host (0.0.0.0) if one
was not provided
|
static String |
extractPath(String remaining)
Extracts the WebSocket path from the endpoint URI path or returns the Vert.x default HTTP server path (/) if one
was not provided
|
static int |
extractPortNumber(String remaining)
Extracts the port number from the endpoint URI path or returns the Vert.x default HTTP server port (0) if one was
not provided
|
static void |
setupSSLOptions(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters,
io.vertx.core.net.TCPSSLOptions options)
Configures key store and trust store options for the Vert.x client and server
|
public static void setupSSLOptions(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters,
io.vertx.core.net.TCPSSLOptions options)
throws Exception
Exceptionpublic static int extractPortNumber(String remaining)
public static String extractHostName(String remaining)
public static String extractPath(String remaining)
public static VertxWebsocketHostKey createHostKey(VertxWebsocketConfiguration configuration)
Apache Camel