Class ResponseTimeHandler

java.lang.Object
io.vertx.mutiny.ext.web.handler.ResponseTimeHandler
All Implemented Interfaces:
io.smallrye.mutiny.vertx.MutinyDelegate, io.vertx.core.Handler<RoutingContext>, PlatformHandler, Consumer<RoutingContext>

public class ResponseTimeHandler extends Object implements io.smallrye.mutiny.vertx.MutinyDelegate, PlatformHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
Handler which adds a header `x-response-time` in the response of matching requests containing the time taken in ms to process the request.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.smallrye.mutiny.vertx.TypeArg<ResponseTimeHandler> __TYPE_ARG
  • Constructor Details

    • ResponseTimeHandler

      public ResponseTimeHandler(io.vertx.ext.web.handler.ResponseTimeHandler delegate)
    • ResponseTimeHandler

      public ResponseTimeHandler(Object delegate)
  • Method Details