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