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 classUndertowConstants.EventTypeWebSocket peers related events theUndertowConsumersends to the Camel route.
-
Field Summary
Fields Modifier and Type Field Description static StringCHANNELTheWebSocketChannelthrough which themessagewas receivedstatic StringCONNECTION_KEYAn identifier ofWebSocketChannelthrough which themessagewas received or should be sent.static StringCONNECTION_KEY_LISTstatic StringCONTENT_TYPEstatic StringEVENT_TYPEstatic StringEVENT_TYPE_ENUMstatic StringEXCHANGEstatic StringHOST_STRINGstatic StringHTTP_CHARACTER_ENCODINGstatic StringHTTP_METHODstatic StringHTTP_PATHstatic StringHTTP_QUERYstatic StringHTTP_RESPONSE_CODEstatic StringHTTP_URIstatic StringSEND_TO_ALLTo send to all websocket subscribers.static StringWS_PROTOCOLstatic StringWSS_PROTOCOL
-
-
-
Field Detail
-
CONNECTION_KEY
@Metadata(javaType="String") public static final String CONNECTION_KEY
An identifier ofWebSocketChannelthrough which themessagewas 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_ALLheader 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 CHANNELTheWebSocketChannelthrough which themessagewas 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
-
-