Class MockEventServer

    • Constructor Detail

      • MockEventServer

        public MockEventServer()
    • Method Detail

      • canHaveCommaValue

        public static boolean canHaveCommaValue​(String header)
      • start

        public void start()
      • start

        public void start​(int port)
      • getPort

        public int getPort()
      • setupRoutes

        public void setupRoutes()
      • defaultHandlerSetup

        protected void defaultHandlerSetup()
      • postEvent

        public void postEvent​(io.vertx.ext.web.RoutingContext ctx)
      • nextEvent

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

        protected String getEventContentType​(io.vertx.ext.web.RoutingContext request)
      • processEventBody

        protected io.vertx.core.buffer.Buffer processEventBody​(io.vertx.ext.web.RoutingContext request)
      • handleResponse

        public void handleResponse​(io.vertx.ext.web.RoutingContext ctx)
      • handleRequeue

        public void handleRequeue​(io.vertx.ext.web.RoutingContext ctx)
      • processResponse

        public void processResponse​(io.vertx.ext.web.RoutingContext ctx,
                                    io.vertx.ext.web.RoutingContext pending,
                                    io.vertx.core.buffer.Buffer buffer)
      • handleError

        public void handleError​(io.vertx.ext.web.RoutingContext ctx)
      • processError

        public void processError​(io.vertx.ext.web.RoutingContext ctx,
                                 io.vertx.ext.web.RoutingContext pending,
                                 io.vertx.core.buffer.Buffer buffer)