PipelineDestinationHttpEndpoint

data class PipelineDestinationHttpEndpoint(val messageBindingTemplate: String? = null, val uri: String)

Constructors

Link copied to clipboard
constructor(messageBindingTemplate: String? = null, uri: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The CEL expression used to modify how the destination-bound HTTP request is constructed. If a binding expression is not specified here, the message is treated as a CloudEvent and is mapped to the HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode). In this representation, all fields except the data and datacontenttype field on the message are mapped to HTTP request headers with a prefix of ce-. To construct the HTTP request payload and the value of the content-type HTTP header, the payload format is defined as follows:

Link copied to clipboard
val uri: String

The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: https://svc.us-central1.p.local:8080/route. Only the HTTPS protocol is supported.