public class MetricsHandler extends Object implements HttpHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricsHandler.MetricResult |
| Modifier and Type | Field and Description |
|---|---|
static HandlerWrapper |
WRAPPER |
| Constructor and Description |
|---|
MetricsHandler(HttpHandler next) |
| Modifier and Type | Method and Description |
|---|---|
MetricsHandler.MetricResult |
getMetrics() |
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
void |
reset() |
public static final HandlerWrapper WRAPPER
public MetricsHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic void reset()
public MetricsHandler.MetricResult getMetrics()
Copyright © 2017 JBoss by Red Hat. All rights reserved.