Package io.quarkus.amazon.lambda.runtime
Class MockRestEventServer
java.lang.Object
io.quarkus.amazon.lambda.runtime.MockEventServer
io.quarkus.amazon.lambda.runtime.MockRestEventServer
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsFields inherited from class io.quarkus.amazon.lambda.runtime.MockEventServer
BASE_PATH, blockingPool, closed, 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
-
Field Details
-
CONTINUE
- See Also:
-
-
Constructor Details
-
MockRestEventServer
public MockRestEventServer()
-
-
Method Details
-
defaultHandlerSetup
protected void defaultHandlerSetup()- Overrides:
defaultHandlerSetupin classMockEventServer
-
handleHttpRequests
public void handleHttpRequests(io.vertx.ext.web.RoutingContext ctx) -
getEventContentType
- Overrides:
getEventContentTypein classMockEventServer
-
processEventBody
protected io.vertx.core.buffer.Buffer processEventBody(io.vertx.ext.web.RoutingContext request) - Overrides:
processEventBodyin classMockEventServer
-
processResponse
public void processResponse(io.vertx.ext.web.RoutingContext ctx, io.vertx.ext.web.RoutingContext pending, io.vertx.core.buffer.Buffer buffer) - Overrides:
processResponsein classMockEventServer
-