Interface MethodOverrideHandler

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static MethodOverrideHandler create()
      Create a X-HTTP-METHOD-OVERRIDE handler with safe downgrade of methods
      static MethodOverrideHandler create​(boolean useSafeDowngrade)
      Create a X-HTTP-METHOD-OVERRIDE handler
    • Method Detail

      • create

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

        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