Top Fields Constructors Methods
io.undertow.servlet.core

pack-priv Class MetricsChainHandler

extends Object
implements HttpHandler
Class Inheritance
All Implemented Interfaces
io.undertow.server.HttpHandler
Imports
io.undertow.server.HttpHandler, .HttpServerExchange, io.undertow.server.handlers.MetricsHandler, io.undertow.servlet.api.Deployment, .MetricsCollector, .ServletInfo, io.undertow.servlet.handlers.ServletHandler, .ServletRequestContext, java.util.Collections, .HashMap, .Map

Author
Tomaz Cerar (c) 2014 Red Hat Inc.

Field Summary

Modifier and TypeField and Description
private final HttpHandler
private final Map<String, MetricsHandler>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
handleRequest(final HttpServerExchange
the HTTP request/response exchange
exchange
)

Implements io.undertow.server.HttpHandler.handleRequest.

Handle the request.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nextback to summary
private final HttpHandler next
servletHandlersback to summary
private final Map<String, MetricsHandler> servletHandlers

Constructor Detail

MetricsChainHandlerback to summary
pack-priv MetricsChainHandler(HttpHandler next, MetricsCollector collector, Deployment deployment)

Method Detail

handleRequestback to summary
public void handleRequest(final HttpServerExchange exchange) throws Exception

Implements io.undertow.server.HttpHandler.handleRequest.

Doc from io.undertow.server.HttpHandler.handleRequest.

Handle the request.

Parameters
exchange:HttpServerExchange

the HTTP request/response exchange

Annotations
@Override