Class DelegatingHandler<U,​V>

  • Type Parameters:
    U -
    All Implemented Interfaces:
    io.vertx.core.Handler<U>

    public class DelegatingHandler<U,​V>
    extends Object
    implements io.vertx.core.Handler<U>
    An implementation of Handler and which delegates hashCode() and equals(Object) to the passed handler.
    • Constructor Detail

      • DelegatingHandler

        public DelegatingHandler​(io.vertx.core.Handler<V> handler,
                                 Function<U,​V> mapper)
    • Method Detail

      • handle

        public void handle​(U event)
        Specified by:
        handle in interface io.vertx.core.Handler<U>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object