Class VertxWebsocketHelper


  • public final class VertxWebsocketHelper
    extends Object
    • Method Detail

      • setupSSLOptions

        public 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
      • extractPortNumber

        public 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
      • extractHostName

        public 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
      • extractPath

        public 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