Package kos.core

Class SimplifiedRouter.SafeRequestInterceptor

    • Constructor Detail

      • SafeRequestInterceptor

        private SafeRequestInterceptor()
    • Method Detail

      • handle

        public void handle​(io.vertx.core.http.HttpServerRequest request,
                           io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> next)
        Description copied from interface: RequestInterceptor
        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.
        Specified by:
        handle in interface RequestInterceptor
        Parameters:
        request - Request object
        next - Next interceptor in the chain.