Package io.quarkus.amazon.lambda.runtime
Class MockHttpEventServer
java.lang.Object
io.quarkus.amazon.lambda.runtime.MockEventServer
io.quarkus.amazon.lambda.runtime.MockHttpEventServer
- All Implemented Interfaces:
Closeable,AutoCloseable
public class MockHttpEventServer
extends io.quarkus.amazon.lambda.runtime.MockEventServer
-
Field Summary
Fields inherited from class io.quarkus.amazon.lambda.runtime.MockEventServer
BASE_PATH, blockingPool, closed, CONTINUE, DEFAULT_PORT, httpServer, INVOCATION, log, NEXT_INVOCATION, POST_EVENT, queue, responsePending, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected StringgetEventContentType(io.vertx.ext.web.RoutingContext request) voidhandleHttpRequests(io.vertx.ext.web.RoutingContext ctx) protected io.vertx.core.buffer.BufferprocessEventBody(io.vertx.ext.web.RoutingContext request) voidprocessResponse(io.vertx.ext.web.RoutingContext ctx, io.vertx.ext.web.RoutingContext pending, io.vertx.core.buffer.Buffer buffer) Methods inherited from class io.quarkus.amazon.lambda.runtime.MockEventServer
canHaveCommaValue, close, getPort, handleError, handleRequeue, handleResponse, nextEvent, postEvent, processError, setupRoutes, start, start
-
Constructor Details
-
MockHttpEventServer
public MockHttpEventServer()
-
-
Method Details
-
defaultHandlerSetup
protected void defaultHandlerSetup()- Overrides:
defaultHandlerSetupin classio.quarkus.amazon.lambda.runtime.MockEventServer
-
handleHttpRequests
public void handleHttpRequests(io.vertx.ext.web.RoutingContext ctx) -
getEventContentType
- Overrides:
getEventContentTypein classio.quarkus.amazon.lambda.runtime.MockEventServer
-
processEventBody
protected io.vertx.core.buffer.Buffer processEventBody(io.vertx.ext.web.RoutingContext request) - Overrides:
processEventBodyin classio.quarkus.amazon.lambda.runtime.MockEventServer
-
processResponse
public void processResponse(io.vertx.ext.web.RoutingContext ctx, io.vertx.ext.web.RoutingContext pending, io.vertx.core.buffer.Buffer buffer) - Overrides:
processResponsein classio.quarkus.amazon.lambda.runtime.MockEventServer
-