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 io.quarkus.amazon.lambda.runtime.MockEventServer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected String
    getEventContentType(io.vertx.ext.web.RoutingContext request)
     
    void
    handleHttpRequests(io.vertx.ext.web.RoutingContext ctx)
     
    protected io.vertx.core.buffer.Buffer
    processEventBody(io.vertx.ext.web.RoutingContext request)
     
    void
    processResponse(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MockRestEventServer

      public MockRestEventServer()
  • Method Details

    • defaultHandlerSetup

      protected void defaultHandlerSetup()
      Overrides:
      defaultHandlerSetup in class io.quarkus.amazon.lambda.runtime.MockEventServer
    • handleHttpRequests

      public void handleHttpRequests(io.vertx.ext.web.RoutingContext ctx)
    • getEventContentType

      protected String getEventContentType(io.vertx.ext.web.RoutingContext request)
      Overrides:
      getEventContentType in class io.quarkus.amazon.lambda.runtime.MockEventServer
    • processEventBody

      protected io.vertx.core.buffer.Buffer processEventBody(io.vertx.ext.web.RoutingContext request)
      Overrides:
      processEventBody in class io.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:
      processResponse in class io.quarkus.amazon.lambda.runtime.MockEventServer