Package io.vertx.ext.web.handler
Interface ResponseTimeHandler
-
- All Superinterfaces:
Handler<RoutingContext>
,PlatformHandler
public interface ResponseTimeHandler extends PlatformHandler
Handler which adds a header `x-response-time` in the response of matching requests containing the time taken in ms to process the request.- Author:
- Tim Fox
-
-
Method Summary
Static Methods Modifier and Type Method Description static ResponseTimeHandler
create()
Create a handler
-
-
-
Method Detail
-
create
static ResponseTimeHandler create()
Create a handler- Returns:
- the handler
-
-