Class KnativeHttpSupport
- java.lang.Object
-
- org.apache.camel.component.knative.http.KnativeHttpSupport
-
public final class KnativeHttpSupport extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
appendHeader(Map<String,Object> headers, String key, Object value)
static Predicate<io.vertx.core.http.HttpServerRequest>
createFilter(org.apache.camel.component.cloudevents.CloudEvent cloudEvent, KnativeResource resource)
static void
remapCloudEventHeaders(org.apache.camel.component.cloudevents.CloudEvent ce, org.apache.camel.Message message)
Remap camel headers to cloud event http headers.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.
-
-
-
Method Detail
-
appendHeader
public static void appendHeader(Map<String,Object> headers, String key, Object value)
-
createFilter
public static Predicate<io.vertx.core.http.HttpServerRequest> createFilter(org.apache.camel.component.cloudevents.CloudEvent cloudEvent, 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.
-
-