Class MethodOverrideHandler

java.lang.Object
io.vertx.rxjava3.ext.web.handler.MethodOverrideHandler
All Implemented Interfaces:
Handler<RoutingContext>, io.vertx.lang.rx.RxDelegate, PlatformHandler

public class MethodOverrideHandler extends Object implements io.vertx.lang.rx.RxDelegate, PlatformHandler, Handler<RoutingContext>

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

  • Field Details

  • Constructor Details

    • MethodOverrideHandler

      public MethodOverrideHandler(MethodOverrideHandler delegate)
    • MethodOverrideHandler

      public MethodOverrideHandler(Object delegate)
  • Method Details

    • 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
    • getDelegate

      public MethodOverrideHandler getDelegate()
      Specified by:
      getDelegate in interface PlatformHandler
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • handle

      public void handle(RoutingContext event)
      Something has happened, so handle it.
      Specified by:
      handle in interface Handler<RoutingContext>
      Specified by:
      handle in interface PlatformHandler
      Parameters:
      event - the event to handle
    • create

      public static MethodOverrideHandler create()
      Create a X-HTTP-METHOD-OVERRIDE handler with safe downgrade of methods
      Returns:
      the X-HTTP-METHOD-OVERRIDE handler
    • create

      public static MethodOverrideHandler create(boolean useSafeDowngrade)
      Create a X-HTTP-METHOD-OVERRIDE handler
      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
    • newInstance

      public static MethodOverrideHandler newInstance(MethodOverrideHandler arg)