Package io.vertx.mutiny.ext.web.handler
Class MethodOverrideHandler
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.MethodOverrideHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<RoutingContext>
,Consumer<RoutingContext>
public class MethodOverrideHandler extends Object implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MethodOverrideHandler>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MethodOverrideHandler(io.vertx.ext.web.handler.MethodOverrideHandler delegate)
MethodOverrideHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(RoutingContext item)
static MethodOverrideHandler
create()
static MethodOverrideHandler
create(boolean useSafeDowngrade)
boolean
equals(Object o)
io.vertx.ext.web.handler.MethodOverrideHandler
getDelegate()
void
handle(RoutingContext arg0)
int
hashCode()
static MethodOverrideHandler
newInstance(io.vertx.ext.web.handler.MethodOverrideHandler arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<MethodOverrideHandler> __TYPE_ARG
-
-
Constructor Detail
-
MethodOverrideHandler
public MethodOverrideHandler(io.vertx.ext.web.handler.MethodOverrideHandler delegate)
-
MethodOverrideHandler
public MethodOverrideHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.MethodOverrideHandler getDelegate()
-
handle
public void handle(RoutingContext arg0)
- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
-
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 interfaceConsumer<RoutingContext>
-
newInstance
public static MethodOverrideHandler newInstance(io.vertx.ext.web.handler.MethodOverrideHandler arg)
-
-