Class ConsulEndpointBuilderFactory.ConsulHeaderNameBuilder

  • Enclosing interface:
    ConsulEndpointBuilderFactory

    public static class ConsulEndpointBuilderFactory.ConsulHeaderNameBuilder
    extends Object
    The builder of headers' name for the Consul component.
    • Constructor Detail

      • ConsulHeaderNameBuilder

        public ConsulHeaderNameBuilder()
    • Method Detail

      • consulAction

        public String consulAction()
        The Producer action. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulAction.
      • consulKey

        public String consulKey()
        The Key on which the action should applied. The option is a: String type. Group: common
        Returns:
        the name of the header ConsulKey.
      • consulEventId

        public String consulEventId()
        The event id. The option is a: String type. Group: consumer
        Returns:
        the name of the header ConsulEventId.
      • consulEventName

        public String consulEventName()
        The event name. The option is a: String type. Group: consumer
        Returns:
        the name of the header ConsulEventName.
      • consulEventLTime

        public String consulEventLTime()
        The event LTime. The option is a: Long type. Group: consumer
        Returns:
        the name of the header ConsulEventLTime.
      • consulNodeFilter

        public String consulNodeFilter()
        The Node filter. The option is a: String type. Group: consumer
        Returns:
        the name of the header ConsulNodeFilter.
      • consulTagFilter

        public String consulTagFilter()
        The tag filter. The option is a: String type. Group: consumer
        Returns:
        the name of the header ConsulTagFilter.
      • consulSessionFilter

        public String consulSessionFilter()
        The session filter. The option is a: String type. Group: consumer
        Returns:
        the name of the header ConsulSessionFilter.
      • consulVersion

        public String consulVersion()
        The data version. The option is a: Integer type. Group: consumer
        Returns:
        the name of the header ConsulVersion.
      • consulFlags

        public String consulFlags()
        Flags associated with a value. The option is a: Long type. Group: common
        Returns:
        the name of the header ConsulFlags.
      • consulIndex

        public String consulIndex()
        The optional value index. The option is a: BigInteger type. Group: producer
        Returns:
        the name of the header ConsulIndex.
      • consulWait

        public String consulWait()
        The optional value wait. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulWait.
      • consulCreateIndex

        public String consulCreateIndex()
        The internal index value that represents when the entry was created. The option is a: Long type. Group: consumer
        Returns:
        the name of the header ConsulCreateIndex.
      • consulLockIndex

        public String consulLockIndex()
        The number of times this key has successfully been acquired in a lock. The option is a: Long type. Group: consumer
        Returns:
        the name of the header ConsulLockIndex.
      • consulModifyIndex

        public String consulModifyIndex()
        The last index that modified this key. The option is a: Long type. Group: consumer
        Returns:
        the name of the header ConsulModifyIndex.
      • consulOptions

        public String consulOptions()
        Options associated to the request. The option is a: type. Group: common
        Returns:
        the name of the header ConsulOptions.
      • consulResult

        public String consulResult()
        true if the response has a result. The option is a: Boolean type. Group: common
        Returns:
        the name of the header ConsulResult.
      • consulSession

        public String consulSession()
        The session id. The option is a: String type. Group: common
        Returns:
        the name of the header ConsulSession.
      • consulValueAsString

        public String consulValueAsString()
        To transform values retrieved from Consul i.e. on KV endpoint to string. The option is a: Boolean type. Group: producer
        Returns:
        the name of the header ConsulValueAsString.
      • consulNode

        public String consulNode()
        The node. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulNode.
      • consulService

        public String consulService()
        The service. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulService.
      • consulDatacenter

        public String consulDatacenter()
        The data center. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulDatacenter.
      • consulNearNode

        public String consulNearNode()
        The near node to use for queries. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulNearNode.
      • consulNodeMeta

        public String consulNodeMeta()
        The note meta-data to use for queries. The option is a: List<String> type. Group: producer
        Returns:
        the name of the header ConsulNodeMeta.
      • consulLastContact

        public String consulLastContact()
        The last contact. The option is a: Long type. Group: producer
        Returns:
        the name of the header ConsulLastContact.
      • consulKnownLeader

        public String consulKnownLeader()
        Indicates whether it is the known leader. The option is a: Boolean type. Group: producer
        Returns:
        the name of the header ConsulKnownLeader.
      • consulConsistencyMode

        public String consulConsistencyMode()
        The consistencyMode used for queries. The option is a: com.orbitz.consul.option.ConsistencyMode type. Default: DEFAULT Group: producer
        Returns:
        the name of the header ConsulConsistencyMode.
      • consulHealthyOnly

        public String consulHealthyOnly()
        Only on healthy services. The option is a: Boolean type. Default: false Group: producer
        Returns:
        the name of the header ConsulHealthyOnly.
      • consulHealthyState

        public String consulHealthyState()
        The state to query. The option is a: com.orbitz.consul.model.State type. Group: producer
        Returns:
        the name of the header ConsulHealthyState.
      • consulPreparedQueryID

        public String consulPreparedQueryID()
        The id of the prepared query. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulPreparedQueryID.
      • consulServiceId

        public String consulServiceId()
        The service id for agent deregistration. The option is a: String type. Group: producer
        Returns:
        the name of the header ConsulServiceId.