T - The response typepublic class WebMetricsPublisher<T extends io.micronaut.http.HttpResponse<?>>
extends java.lang.Object
implements org.reactivestreams.Publisher<T>
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
ENABLED
Constant used to define whether web metrics are enabled or not. 
 | 
static java.lang.String | 
METRIC_HTTP_CLIENT_REQUESTS  | 
static java.lang.String | 
METRIC_HTTP_SERVER_REQUESTS  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
subscribe(org.reactivestreams.Subscriber<? super T> actual)
The subscribe method that will be called for publisher. 
 | 
public static final java.lang.String ENABLED
public static final java.lang.String METRIC_HTTP_SERVER_REQUESTS
public static final java.lang.String METRIC_HTTP_CLIENT_REQUESTS