public final class Requests
extends java.lang.Object
Constructor and Description |
---|
Requests() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
tag(io.vertx.core.http.HttpServerRequest r,
java.lang.String tag) |
static void |
tag(io.vertx.core.http.HttpServerRequest r,
java.lang.String tag,
java.lang.String value)
Sets a log attribute, displayed when the response is sent.
|
static void |
tagAsync(io.vertx.core.http.HttpServerRequest sr) |
static io.vertx.core.http.HttpServerRequest |
wrap(io.vertx.core.http.HttpServerRequest impl)
Wraps a request into a
WrappedRequest that will store tags & log them
with execution time at the end. |
static io.vertx.core.http.HttpServerRequest |
wrap(java.lang.String metricName,
io.vertx.core.http.HttpServerRequest impl) |
public static io.vertx.core.http.HttpServerRequest wrap(io.vertx.core.http.HttpServerRequest impl)
WrappedRequest
that will store tags & log them
with execution time at the end.impl
- public static io.vertx.core.http.HttpServerRequest wrap(java.lang.String metricName, io.vertx.core.http.HttpServerRequest impl)
public static void tag(io.vertx.core.http.HttpServerRequest r, java.lang.String tag, java.lang.String value)
sr
- tag
- value
- public static void tagAsync(io.vertx.core.http.HttpServerRequest sr)
public static java.lang.String tag(io.vertx.core.http.HttpServerRequest r, java.lang.String tag)
Copyright © 2021. All Rights Reserved.