Class UndertowEndpointBuilderFactory.UndertowHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.UndertowEndpointBuilderFactory.UndertowHeaderNameBuilder
-
- Enclosing interface:
- UndertowEndpointBuilderFactory
public static class UndertowEndpointBuilderFactory.UndertowHeaderNameBuilder extends Object
The builder of headers' name for the Undertow component.
-
-
Constructor Summary
Constructors Constructor Description UndertowHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcontentType()The content type.Stringhost()The host http header.StringhttpCharacterEncoding()The http character encoding.StringhttpMethod()The http method.StringhttpPath()The http path.StringhttpQuery()The http query.StringhttpResponseCode()The http response code.StringhttpUri()The http URI.StringwebsocketChannel()The WebSocketChannel through which the message was received.StringwebsocketConnectionkey()An identifier of WebSocketChannel through which the message was received or should be sent.StringwebsocketConnectionkeyList()The list of websocket connection keys.StringwebsocketEventtype()The numeric identifier of the type of websocket event.StringwebsocketEventtypeenum()The type of websocket event.StringwebsocketExchange()The exchange for the websocket transport, only available for ON_OPEN events.StringwebsocketSendtoall()To send to all websocket subscribers.
-
-
-
Method Detail
-
websocketConnectionkey
public String 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
public String 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
public String 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
public String 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
public String 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
public String 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
public String 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
public String httpResponseCode()
The http response code. The option is a:Integertype. Group: common- Returns:
- the name of the header
HttpResponseCode.
-
contentType
public String contentType()
The content type. The option is a:Stringtype. Group: common- Returns:
- the name of the header
Content-Type.
-
httpCharacterEncoding
public String httpCharacterEncoding()
The http character encoding. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
HttpCharacterEncoding.
-
httpPath
public String httpPath()
The http path. The option is a:Stringtype. Group: common- Returns:
- the name of the header
HttpPath.
-
httpQuery
public String httpQuery()
The http query. The option is a:Stringtype. Group: common- Returns:
- the name of the header
HttpQuery.
-
httpUri
public String httpUri()
The http URI. The option is a:Stringtype. Group: common- Returns:
- the name of the header
HttpUri.
-
httpMethod
public String httpMethod()
The http method. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
HttpMethod.
-
host
public String host()
The host http header. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
Host.
-
-