Class VertxWebsocketHelper


  • public final class VertxWebsocketHelper
    extends Object
    • Method Detail

      • 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