Class AtmosphereWebsocketEndpointBuilderFactory.AtmosphereWebsocketHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.AtmosphereWebsocketEndpointBuilderFactory.AtmosphereWebsocketHeaderNameBuilder
-
- Enclosing interface:
- AtmosphereWebsocketEndpointBuilderFactory
public static class AtmosphereWebsocketEndpointBuilderFactory.AtmosphereWebsocketHeaderNameBuilder extends Object
The builder of headers' name for the Atmosphere Websocket component.
-
-
Constructor Summary
Constructors Constructor Description AtmosphereWebsocketHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringwebsocketConnectionkey()The connection key.StringwebsocketConnectionkeyList()The list of connection keys.StringwebsocketErrortype()The type of error that occurred.StringwebsocketEventtype()The type of event received.
-
-
-
Method Detail
-
websocketConnectionkey
public String websocketConnectionkey()
The connection key. The option is a:java.lang.Stringtype. Group: common- Returns:
- the name of the header
websocket.connectionKey.
-
websocketConnectionkeyList
public String websocketConnectionkeyList()
The list of connection keys. The option is a:java.util.Listtype. Group: common- Returns:
- the name of the header
websocket.connectionKey.list.
-
websocketEventtype
public String websocketEventtype()
The type of event received. It can be ONOPEN_EVENT_TYPE, ONERROR_EVENT_TYPE or ONCLOSE_EVENT_TYPE. The option is a:inttype. Group: consumer- Returns:
- the name of the header
websocket.eventType.
-
websocketErrortype
public String websocketErrortype()
The type of error that occurred. It can be MESSAGE_NOT_SENT_ERROR_TYPE. The option is a:inttype. Group: consumer- Returns:
- the name of the header
websocket.errorType.
-
-