Class UndertowEndpointBuilderFactory.UndertowHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.UndertowEndpointBuilderFactory.UndertowHeaderNameBuilder
- Enclosing interface:
UndertowEndpointBuilderFactory
The builder of headers' name for the Undertow component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe content type.host()The host http header.The http character encoding.The http method.httpPath()The http path.The http query.The http response code.httpUri()The http URI.The WebSocketChannel through which the message was received.An identifier of WebSocketChannel through which the message was received or should be sent.The list of websocket connection keys.The numeric identifier of the type of websocket event.The type of websocket event.The exchange for the websocket transport, only available for ON_OPEN events.To send to all websocket subscribers.
-
Constructor Details
-
UndertowHeaderNameBuilder
public UndertowHeaderNameBuilder()
-
-
Method Details
-
websocketConnectionkey
An identifier of WebSocketChannel through which the message was received or should be sent. The option is a:Stringtype. Group: common- Returns:
- the name of the header
websocket.connectionKey.
-
websocketConnectionkeyList
The list of websocket connection keys. The option is a:List<String>type. Group: producer- Returns:
- the name of the header
websocket.connectionKey.list.
-
websocketSendtoall
To send to all websocket subscribers. Can be used to configure on endpoint level, instead of having to use the UndertowConstants.SEND_TO_ALL header on the message. The option is a:Booleantype. Group: common- Returns:
- the name of the header
websocket.sendToAll.
-
websocketEventtype
The numeric identifier of the type of websocket event. The option is a:Integertype. Group: consumer- Returns:
- the name of the header
websocket.eventType.
-
websocketEventtypeenum
The type of websocket event. The option is a:org.apache.camel.component.undertow.UndertowConstants.EventTypetype. Group: consumer- Returns:
- the name of the header
websocket.eventTypeEnum.
-
websocketChannel
The WebSocketChannel through which the message was received. The option is a:io.undertow.websockets.core.WebSocketChanneltype. Group: consumer- Returns:
- the name of the header
websocket.channel.
-
websocketExchange
The exchange for the websocket transport, only available for ON_OPEN events. The option is a:io.undertow.websockets.spi.WebSocketHttpExchangetype. Group: consumer- Returns:
- the name of the header
websocket.exchange.
-
httpResponseCode
The http response code. The option is a:Integertype. Group: common- Returns:
- the name of the header
HttpResponseCode.
-
contentType
The content type. The option is a:Stringtype. Group: common- Returns:
- the name of the header
Content-Type.
-
httpCharacterEncoding
The http character encoding. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
HttpCharacterEncoding.
-
httpPath
The http path. The option is a:Stringtype. Group: common- Returns:
- the name of the header
HttpPath.
-
httpQuery
The http query. The option is a:Stringtype. Group: common- Returns:
- the name of the header
HttpQuery.
-
httpUri
The http URI. The option is a:Stringtype. Group: common- Returns:
- the name of the header
HttpUri.
-
httpMethod
The http method. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
HttpMethod.
-
host
The host http header. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
Host.
-