Class MethodOverrideHandler

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

public class MethodOverrideHandler extends Object implements io.smallrye.mutiny.vertx.MutinyDelegate, PlatformHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • MethodOverrideHandler

      public MethodOverrideHandler(io.vertx.ext.web.handler.MethodOverrideHandler delegate)
    • MethodOverrideHandler

      public MethodOverrideHandler(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.handler.MethodOverrideHandler getDelegate()
      Specified by:
      getDelegate in interface io.smallrye.mutiny.vertx.MutinyDelegate
      Specified by:
      getDelegate in interface PlatformHandler
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

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

      public void handle(RoutingContext arg0)
      Specified by:
      handle in interface io.vertx.core.Handler<RoutingContext>
      Specified by:
      handle in interface PlatformHandler
    • create

      public static MethodOverrideHandler create()
      Returns:
      the X-HTTP-METHOD-OVERRIDE handler
    • create

      public static MethodOverrideHandler create(boolean useSafeDowngrade)
      Parameters:
      useSafeDowngrade - if set to true, the method overriding will not happen if the overridden method is more idempotent or safer than the overriding method.
      Returns:
      the X-HTTP-METHOD-OVERRIDE handler
    • accept

      public void accept(RoutingContext item)
      Specified by:
      accept in interface Consumer<RoutingContext>
      Specified by:
      accept in interface PlatformHandler
    • newInstance

      public static MethodOverrideHandler newInstance(io.vertx.ext.web.handler.MethodOverrideHandler arg)