Class HttpCompressionHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>

    public class HttpCompressionHandler
    extends Object
    implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
    • Constructor Detail

      • HttpCompressionHandler

        public HttpCompressionHandler​(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> routeHandler,
                                      HttpCompression compression,
                                      Set<String> compressedMediaTypes)
    • Method Detail

      • handle

        public void handle​(io.vertx.ext.web.RoutingContext context)
        Specified by:
        handle in interface io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>