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
public class MockRestEventServer extends MockEventServer
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTINUE-
Fields 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 Constructor Description MockRestEventServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddefaultHandlerSetup()protected 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 Detail
-
CONTINUE
public static final String CONTINUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
defaultHandlerSetup
protected void defaultHandlerSetup()
- Overrides:
defaultHandlerSetupin classMockEventServer
-
handleHttpRequests
public void handleHttpRequests(io.vertx.ext.web.RoutingContext ctx)
-
getEventContentType
protected String getEventContentType(io.vertx.ext.web.RoutingContext request)
- 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
-
-