Class BytesSentHttpHandler
java.lang.Object
org.wildfly.mod_cluster.undertow.metric.BytesSentHttpHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
HttpHandler implementation that counts number of bytes sent via BytesSentStreamSinkConduit
wrapping.- Since:
- 8.0
- Author:
- Radoslav Husar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
BytesSentHttpHandler
public BytesSentHttpHandler(io.undertow.server.HttpHandler handler)
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-