Package: io.vertx.groovy.ext.web.handler

## [Groovy] Class ResponseTimeHandler

- io.vertx.groovy.ext.web.handler.ResponseTimeHandler

- All Implemented Interfaces and Traits:
    io.vertx.core.Handler

      @groovy.transform.CompileStatic
      class ResponseTimeHandler
      extends java.lang.Object

  Handler which adds a header `x-response-time` in the response of matching requests containing the time taken in ms to process the request.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ResponseTimeHandler (java.lang.Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static ResponseTimeHandler` | `create()` Create a handler
    `java.lang.Object` | `getDelegate()`
    `void` | `handle(RoutingContext arg0)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### ResponseTimeHandler(java.lang.Object delegate)

  - ### Method Detail

    - #### static ResponseTimeHandler create()

      Create a handler

      Returns:
        the handler

    - #### java.lang.Object getDelegate()

    - #### void handle(RoutingContext arg0)