Package kos.core

Class SimplifiedRouter.SafeRequestInterceptor

java.lang.Object
kos.core.SimplifiedRouter.SafeRequestInterceptor
All Implemented Interfaces:
RequestInterceptor
Enclosing class:
SimplifiedRouter

private class SimplifiedRouter.SafeRequestInterceptor extends Object implements RequestInterceptor
  • Field Details

  • Constructor Details

    • SafeRequestInterceptor

      private SafeRequestInterceptor()
  • Method Details

    • 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.