Class VertxWebsocketHelper
- java.lang.Object
-
- org.apache.camel.component.vertx.websocket.VertxWebsocketHelper
-
public final class VertxWebsocketHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VertxWebsocketHostKey
createHostKey(VertxWebsocketConfiguration configuration)
Creates a VertxWebsocketHostKey from a given VertxWebsocketConfigurationstatic 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 providedstatic 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 providedstatic 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
-
-
-
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
-
createHostKey
public static VertxWebsocketHostKey createHostKey(VertxWebsocketConfiguration configuration)
Creates a VertxWebsocketHostKey from a given VertxWebsocketConfiguration
-
-