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
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
public void reset()
public MetricsHandler.MetricResult getMetrics()
Copyright © 2015 JBoss by Red Hat. All rights reserved.