Class UndertowConstants
- java.lang.Object
-
- org.apache.camel.component.undertow.UndertowConstants
-
public final class UndertowConstants extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UndertowConstants.EventType
WebSocket peers related events theUndertowConsumer
sends to the Camel route.
-
Field Summary
Fields Modifier and Type Field Description static String
CHANNEL
TheWebSocketChannel
through which themessage
was receivedstatic String
CONNECTION_KEY
An identifier ofWebSocketChannel
through which themessage
was received or should be sent.static String
CONNECTION_KEY_LIST
static String
CONTENT_TYPE
static String
EVENT_TYPE
static String
EVENT_TYPE_ENUM
static String
EXCHANGE
static String
HOST_STRING
static String
HTTP_CHARACTER_ENCODING
static String
HTTP_METHOD
static String
HTTP_PATH
static String
HTTP_QUERY
static String
HTTP_RESPONSE_CODE
static String
HTTP_URI
static String
SEND_TO_ALL
To send to all websocket subscribers.static String
WS_PROTOCOL
static String
WSS_PROTOCOL
-
-
-
Field Detail
-
CONNECTION_KEY
@Metadata(javaType="String") public static final String CONNECTION_KEY
An identifier ofWebSocketChannel
through which themessage
was received or should be sent.- See Also:
- Constant Field Values
-
CONNECTION_KEY_LIST
@Metadata(label="producer", description="The list of websocket connection keys", javaType="List<String>") public static final String CONNECTION_KEY_LIST
- See Also:
- Constant Field Values
-
SEND_TO_ALL
@Metadata(javaType="Boolean") public static final String SEND_TO_ALL
To send to all websocket subscribers. Can be used to configure on endpoint level, instead of having to use theUndertowConstants.SEND_TO_ALL
header on the message.- See Also:
- Constant Field Values
-
EVENT_TYPE
@Metadata(label="consumer", description="The numeric identifier of the type of websocket event", javaType="Integer") public static final String EVENT_TYPE
- See Also:
- Constant Field Values
-
EVENT_TYPE_ENUM
@Metadata(label="consumer", description="The type of websocket event", javaType="org.apache.camel.component.undertow.UndertowConstants.EventType") public static final String EVENT_TYPE_ENUM
- See Also:
- Constant Field Values
-
CHANNEL
@Metadata(label="consumer", javaType="io.undertow.websockets.core.WebSocketChannel") public static final String CHANNEL
TheWebSocketChannel
through which themessage
was received- See Also:
- Constant Field Values
-
EXCHANGE
@Metadata(label="consumer", description="The exchange for the websocket transport, only available for ON_OPEN events", javaType="io.undertow.websockets.spi.WebSocketHttpExchange") public static final String EXCHANGE
- See Also:
- Constant Field Values
-
HTTP_RESPONSE_CODE
@Metadata(description="The http response code", javaType="Integer") public static final String HTTP_RESPONSE_CODE
- See Also:
- Constant Field Values
-
CONTENT_TYPE
@Metadata(description="The content type", javaType="String") public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
-
HTTP_CHARACTER_ENCODING
@Metadata(label="consumer", description="The http character encoding", javaType="String") public static final String HTTP_CHARACTER_ENCODING
- See Also:
- Constant Field Values
-
HTTP_PATH
@Metadata(description="The http path", javaType="String") public static final String HTTP_PATH
- See Also:
- Constant Field Values
-
HTTP_QUERY
@Metadata(description="The http query", javaType="String") public static final String HTTP_QUERY
- See Also:
- Constant Field Values
-
HTTP_URI
@Metadata(description="The http URI", javaType="String") public static final String HTTP_URI
- See Also:
- Constant Field Values
-
HTTP_METHOD
@Metadata(label="producer", description="The http method", javaType="String") public static final String HTTP_METHOD
- See Also:
- Constant Field Values
-
HOST_STRING
@Metadata(label="producer", description="The host http header", javaType="String") public static final String HOST_STRING
- See Also:
- Constant Field Values
-
WS_PROTOCOL
public static final String WS_PROTOCOL
- See Also:
- Constant Field Values
-
WSS_PROTOCOL
public static final String WSS_PROTOCOL
- See Also:
- Constant Field Values
-
-