Class ResponseTimeHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<RoutingContext>, PlatformHandler

    public class ResponseTimeHandler
    extends Object
    implements PlatformHandler, io.vertx.core.Handler<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 RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • ResponseTimeHandler

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

        public ResponseTimeHandler​(Object delegate)