Package kos.core
Interface RequestInterceptor
-
public interface RequestInterceptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(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 thenextinterceptor 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 objectnext- Next interceptor in the chain.
-
-