Package io.vertx.mutiny.ext.web.handler
Class MethodOverrideHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.MethodOverrideHandler
- All Implemented Interfaces:
MutinyDelegate,io.vertx.core.Handler<RoutingContext>,PlatformHandler,Consumer<RoutingContext>
public class MethodOverrideHandler
extends Object
implements io.vertx.core.Handler<RoutingContext>, PlatformHandler, Consumer<RoutingContext>, MutinyDelegate
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Victor Quezado
- See Also:
-
MethodOverrideHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vertx.mutiny.ext.web.handler.PlatformHandler
PlatformHandler.PlatformHandlerImpl -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMethodOverrideHandler(io.vertx.ext.web.handler.MethodOverrideHandler delegate) Create a new instance ofMethodOverrideHandlerdelegating to the given (non-null) instance ofMethodOverrideHandler.MethodOverrideHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RoutingContext item) Handle an item.static MethodOverrideHandlercreate()Create a X-HTTP-METHOD-OVERRIDE handler with safe downgrade of methodsstatic MethodOverrideHandlercreate(boolean useSafeDowngrade) Create a X-HTTP-METHOD-OVERRIDE handlerbooleanio.vertx.ext.web.handler.MethodOverrideHandlerGet the delegate instance.voidhandle(RoutingContext item) Handle an item.inthashCode()static MethodOverrideHandlernewInstance(io.vertx.ext.web.handler.MethodOverrideHandler delegate) Creates a new instance of theMethodOverrideHandler.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MethodOverrideHandler
public MethodOverrideHandler(io.vertx.ext.web.handler.MethodOverrideHandler delegate) Create a new instance ofMethodOverrideHandlerdelegating to the given (non-null) instance ofMethodOverrideHandler. -
MethodOverrideHandler
-
-
Method Details
-
accept
Handle an item. This method is generated from theoriginalmethod."- Specified by:
acceptin interfaceConsumer<RoutingContext>- Specified by:
acceptin interfacePlatformHandler
-
handle
Handle an item. This method is generated from theoriginalmethod."- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>- Specified by:
handlein interfacePlatformHandler
-
getDelegate
public io.vertx.ext.web.handler.MethodOverrideHandler getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Specified by:
getDelegatein interfacePlatformHandler- Returns:
- the delegate instance
-
create
Create a X-HTTP-METHOD-OVERRIDE handler with safe downgrade of methods- Returns:
- the X-HTTP-METHOD-OVERRIDE handler
-
create
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(io.vertx.ext.web.handler.MethodOverrideHandler delegate) Creates a new instance of theMethodOverrideHandler. -
hashCode
public int hashCode() -
equals
-
toString
-