Class ProxyHandler

java.lang.Object
io.vertx.mutiny.ext.web.proxy.handler.ProxyHandler
All Implemented Interfaces:
MutinyDelegate, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>

public class ProxyHandler extends Object implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>, MutinyDelegate
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
See Also:
  • ProxyHandler
  • Field Details

  • Constructor Details

    • ProxyHandler

      public ProxyHandler(io.vertx.ext.web.proxy.handler.ProxyHandler delegate)
      Create a new instance of ProxyHandler delegating to the given (non-null) instance of ProxyHandler.
    • ProxyHandler

      public ProxyHandler(Object delegate)
  • Method Details

    • accept

      public void accept(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      accept in interface Consumer<RoutingContext>
    • handle

      public void handle(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      handle in interface io.vertx.core.Handler<RoutingContext>
    • getDelegate

      public io.vertx.ext.web.proxy.handler.ProxyHandler getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • create

      public static ProxyHandler create(HttpProxy httpProxy)
    • create

      public static ProxyHandler create(HttpProxy httpProxy, int port, String host)
    • newInstance

      public static ProxyHandler newInstance(io.vertx.ext.web.proxy.handler.ProxyHandler delegate)
      Creates a new instance of the ProxyHandler.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object