public class QuarkusPlatformHttpConsumer
extends org.apache.camel.support.DefaultConsumer
Consumer for the PlatformHttpComponent.| Constructor and Description |
|---|
QuarkusPlatformHttpConsumer(org.apache.camel.component.platform.http.PlatformHttpEndpoint endpoint,
org.apache.camel.Processor processor,
io.vertx.ext.web.Router router,
List<io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>> handlers,
UploadAttacher uploadAttacher) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
appendHeader(Map<String,Object> headers,
String key,
Object value) |
(package private) static int |
determineResponseCode(org.apache.camel.Exchange camelExchange,
Object body) |
protected void |
doResume() |
protected void |
doStart() |
protected void |
doStop() |
protected void |
doSuspend() |
org.apache.camel.component.platform.http.PlatformHttpEndpoint |
getEndpoint() |
(package private) void |
populateAttachments(Set<io.vertx.ext.web.FileUpload> uploads,
org.apache.camel.Message message) |
(package private) static void |
populateCamelHeaders(io.vertx.ext.web.RoutingContext ctx,
Map<String,Object> headersMap,
org.apache.camel.Exchange exchange,
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
(package private) org.apache.camel.Message |
toCamelMessage(io.vertx.ext.web.RoutingContext ctx,
org.apache.camel.Exchange exchange) |
(package private) org.apache.camel.Exchange |
toExchange(io.vertx.ext.web.RoutingContext ctx) |
(package private) static Object |
toHttpResponse(io.vertx.core.http.HttpServerResponse response,
org.apache.camel.Message message,
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
(package private) static void |
writeResponse(io.vertx.ext.web.RoutingContext ctx,
org.apache.camel.Exchange camelExchange,
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
createUoW, doInit, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, getRouteId, handleException, handleException, setExceptionHandler, setRoute, setRouteId, toStringbuild, doBuild, doFail, doLifecycleChange, doShutdown, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic QuarkusPlatformHttpConsumer(org.apache.camel.component.platform.http.PlatformHttpEndpoint endpoint,
org.apache.camel.Processor processor,
io.vertx.ext.web.Router router,
List<io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>> handlers,
UploadAttacher uploadAttacher)
public org.apache.camel.component.platform.http.PlatformHttpEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultConsumerprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultConsumerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultConsumerExceptionprotected void doSuspend()
throws Exception
doSuspend in class org.apache.camel.support.service.BaseServiceExceptionprotected void doResume()
throws Exception
doResume in class org.apache.camel.support.service.BaseServiceExceptionstatic Object toHttpResponse(io.vertx.core.http.HttpServerResponse response, org.apache.camel.Message message, org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
static int determineResponseCode(org.apache.camel.Exchange camelExchange,
Object body)
static void writeResponse(io.vertx.ext.web.RoutingContext ctx,
org.apache.camel.Exchange camelExchange,
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
org.apache.camel.Exchange toExchange(io.vertx.ext.web.RoutingContext ctx)
static void populateCamelHeaders(io.vertx.ext.web.RoutingContext ctx,
Map<String,Object> headersMap,
org.apache.camel.Exchange exchange,
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
org.apache.camel.Message toCamelMessage(io.vertx.ext.web.RoutingContext ctx,
org.apache.camel.Exchange exchange)
void populateAttachments(Set<io.vertx.ext.web.FileUpload> uploads, org.apache.camel.Message message)
Copyright © 2019–2020 The Apache Software Foundation. All rights reserved.