public class MethodOverrideHandler extends Object implements PlatformHandler, Handler<RoutingContext>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MethodOverrideHandler> |
__TYPE_ARG |
Constructor and Description |
---|
MethodOverrideHandler(MethodOverrideHandler delegate) |
MethodOverrideHandler(Object delegate) |
Modifier and Type | Method and 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
|
boolean |
equals(Object o) |
MethodOverrideHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static MethodOverrideHandler |
newInstance(MethodOverrideHandler arg) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
newInstance
public static final io.vertx.lang.rx.TypeArg<MethodOverrideHandler> __TYPE_ARG
public MethodOverrideHandler(MethodOverrideHandler delegate)
public MethodOverrideHandler(Object delegate)
public MethodOverrideHandler getDelegate()
getDelegate
in interface PlatformHandler
public void handle(RoutingContext event)
handle
in interface Handler<RoutingContext>
handle
in interface PlatformHandler
event
- the event to handlepublic static MethodOverrideHandler create()
public static MethodOverrideHandler create(boolean useSafeDowngrade)
useSafeDowngrade
- if set to true, the method overriding will not happen if the overridden method is more idempotent or safer than the overriding method.public static MethodOverrideHandler newInstance(MethodOverrideHandler arg)
Copyright © 2023 Eclipse. All rights reserved.