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