Package kos.core

Interface RequestInterceptor


  • public interface RequestInterceptor
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void handle​(io.vertx.core.http.HttpServerRequest request, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> next)
      Handles a request.
    • Method Detail

      • handle

        void handle​(io.vertx.core.http.HttpServerRequest request,
                    io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> next)
        Handles a request. If the next interceptor in the chain were not called, the request will be interrupted. Please make sure you have sent a response to the client if you choose to interrupt the request chain.
        Parameters:
        request - Request object
        next - Next interceptor in the chain.