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 void
appendHeader(Map<String,Object> headers, String key, Object value)
Appends a header value to exchange headers, using a List if there are multiple items for the same keystatic VertxWebsocketHostKey
createHostKey(URI websockerURI)
Creates a VertxWebsocketHostKey from a given VertxWebsocketConfigurationstatic boolean
webSocketHostPathMatches(String hostPath, String targetPath)
Determines whether the path of a WebSocket host (the vertx-websocket consumer) matches a target path (the vertx-websocket producer), taking path parameters and wildcard paths into consideration.
-
-
-
Method Detail
-
createHostKey
public static VertxWebsocketHostKey createHostKey(URI websockerURI)
Creates a VertxWebsocketHostKey from a given VertxWebsocketConfiguration
-
appendHeader
public static void appendHeader(Map<String,Object> headers, String key, Object value)
Appends a header value to exchange headers, using a List if there are multiple items for the same key
-
webSocketHostPathMatches
public static boolean webSocketHostPathMatches(String hostPath, String targetPath)
Determines whether the path of a WebSocket host (the vertx-websocket consumer) matches a target path (the vertx-websocket producer), taking path parameters and wildcard paths into consideration.
-
-