Class KnativeHttpSupport


  • public final class KnativeHttpSupport
    extends Object
    • Method Detail

      • 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.