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(KnativeEnvironment.KnativeServiceDefinition serviceDefinition)
static org.apache.camel.Processor
remapCloudEventHeaders(org.apache.camel.Processor delegate, CloudEvent ce)
Remap camel headers to cloud event http headers.static org.apache.camel.Processor
withoutCloudEventHeaders(org.apache.camel.Processor delegate, CloudEvent ce)
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(KnativeEnvironment.KnativeServiceDefinition serviceDefinition)
-
withoutCloudEventHeaders
public static org.apache.camel.Processor withoutCloudEventHeaders(org.apache.camel.Processor delegate, CloudEvent ce)
Removes cloud event headers at the end of the processing.
-
remapCloudEventHeaders
public static org.apache.camel.Processor remapCloudEventHeaders(org.apache.camel.Processor delegate, CloudEvent ce)
Remap camel headers to cloud event http headers.
-
-