Class BytesSentHttpHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class BytesSentHttpHandler
    extends Object
    implements io.undertow.server.HttpHandler
    HttpHandler implementation that counts number of bytes sent via BytesSentStreamSinkConduit wrapping.
    Since:
    8.0
    Author:
    Radoslav Husar
    • Constructor Detail

      • BytesSentHttpHandler

        public BytesSentHttpHandler​(io.undertow.server.HttpHandler handler)
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange exchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Throws:
        Exception