Class UndertowEndpointBuilderFactory.UndertowHeaderNameBuilder

  • Enclosing interface:
    UndertowEndpointBuilderFactory

    public static class UndertowEndpointBuilderFactory.UndertowHeaderNameBuilder
    extends Object
    The builder of headers' name for the Undertow component.
    • Constructor Detail

      • UndertowHeaderNameBuilder

        public UndertowHeaderNameBuilder()
    • Method Detail

      • websocketConnectionkey

        public String websocketConnectionkey()
        An identifier of WebSocketChannel through which the message was received or should be sent. The option is a: String type. 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: Boolean type. 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: Integer type. 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.EventType type. 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.WebSocketChannel type. 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.WebSocketHttpExchange type. Group: consumer
        Returns:
        the name of the header websocket.exchange.
      • httpResponseCode

        public String httpResponseCode()
        The http response code. The option is a: Integer type. Group: common
        Returns:
        the name of the header HttpResponseCode.
      • contentType

        public String contentType()
        The content type. The option is a: String type. Group: common
        Returns:
        the name of the header Content-Type.
      • httpCharacterEncoding

        public String httpCharacterEncoding()
        The http character encoding. The option is a: String type. Group: consumer
        Returns:
        the name of the header HttpCharacterEncoding.
      • httpPath

        public String httpPath()
        The http path. The option is a: String type. Group: common
        Returns:
        the name of the header HttpPath.
      • httpQuery

        public String httpQuery()
        The http query. The option is a: String type. Group: common
        Returns:
        the name of the header HttpQuery.
      • httpUri

        public String httpUri()
        The http URI. The option is a: String type. Group: common
        Returns:
        the name of the header HttpUri.
      • httpMethod

        public String httpMethod()
        The http method. The option is a: String type. Group: producer
        Returns:
        the name of the header HttpMethod.
      • host

        public String host()
        The host http header. The option is a: String type. Group: producer
        Returns:
        the name of the header Host.