Package io.vertx.ext.web.handler
Interface MethodOverrideHandler
-
- All Superinterfaces:
Handler<RoutingContext>
,PlatformHandler
public interface MethodOverrideHandler extends PlatformHandler
- Author:
- Victor Quezado
-
-
Method Summary
Static Methods Modifier and Type Method Description static MethodOverrideHandler
create()
Create a X-HTTP-METHOD-OVERRIDE handler with safe downgrade of methodsstatic 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
-
-