Class KnativeHttpSupport
java.lang.Object
org.apache.camel.component.knative.http.KnativeHttpSupport
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic Predicate<io.vertx.core.http.HttpServerRequest>createFilter(org.apache.camel.component.cloudevents.CloudEvent cloudEvent, org.apache.camel.component.knative.spi.KnativeResource resource) static voidremapCloudEventHeaders(org.apache.camel.component.cloudevents.CloudEvent ce, org.apache.camel.Message message) Remap camel headers to cloud event http headers.static voidremoveCloudEventHeaders(org.apache.camel.component.cloudevents.CloudEvent ce, org.apache.camel.Message message) Removes cloud event headers at the end of the processing.
-
Method Details
-
appendHeader
-
createFilter
public static Predicate<io.vertx.core.http.HttpServerRequest> createFilter(org.apache.camel.component.cloudevents.CloudEvent cloudEvent, org.apache.camel.component.knative.spi.KnativeResource resource) -
removeCloudEventHeaders
public static void removeCloudEventHeaders(org.apache.camel.component.cloudevents.CloudEvent ce, org.apache.camel.Message message) Removes cloud event headers at the end of the processing. -
remapCloudEventHeaders
public static void remapCloudEventHeaders(org.apache.camel.component.cloudevents.CloudEvent ce, org.apache.camel.Message message) Remap camel headers to cloud event http headers.
-