Interface RouterFactory
- All Superinterfaces:
MutinyDelegate
- All Known Implementing Classes:
OpenAPI3RouterFactory
Deprecated.
Main interface for Design Driven Router factory
Author: Francesco Guardiani @slinkydeveloper
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddGlobalHandler
(Consumer<RoutingContext> globalHandler) Deprecated.addSecurityHandler
(String securitySchemaName, Consumer<RoutingContext> handler) Deprecated.io.vertx.ext.web.api.contract.RouterFactory
Deprecated.io.vertx.ext.web.api.contract.RouterFactoryOptions
Deprecated.Deprecated.io.vertx.core.Handler<RoutingContext>
Deprecated.Router Factory won't manage the validation errors anymore.static RouterFactory
newInstance
(io.vertx.ext.web.api.contract.RouterFactory arg) Deprecated.setBodyHandler
(BodyHandler bodyHandler) Deprecated.setExtraOperationContextPayloadMapper
(Function<RoutingContext, io.vertx.core.json.JsonObject> extraOperationContextPayloadMapper) Deprecated.setNotImplementedFailureHandler
(Consumer<RoutingContext> notImplementedFailureHandler) Deprecated.You must useRouter.errorHandler(int, Handler)
with 501 errorsetOptions
(io.vertx.ext.web.api.contract.RouterFactoryOptions options) Deprecated.setValidationFailureHandler
(Consumer<RoutingContext> validationFailureHandler) Deprecated.Router Factory won't manage the validation errors anymore.
-
Field Details
-
TYPE_ARG_0
Deprecated.
-
-
Method Details
-
getDelegate
io.vertx.ext.web.api.contract.RouterFactory getDelegate()Deprecated.- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
addSecurityHandler
@Deprecated RouterFactory addSecurityHandler(String securitySchemaName, Consumer<RoutingContext> handler) Deprecated.- Parameters:
securitySchemaName
-handler
-- Returns:
-
setOptions
Deprecated.- Parameters:
options
-- Returns:
-
getOptions
Deprecated.- Returns:
-
getRouter
Deprecated.- Returns:
-
getValidationFailureHandler
Deprecated.Router Factory won't manage the validation errors anymore. You must useRouter.errorHandler(int, Handler)
with 400 error- Returns:
-
setValidationFailureHandler
@Deprecated RouterFactory setValidationFailureHandler(Consumer<RoutingContext> validationFailureHandler) Deprecated.Router Factory won't manage the validation errors anymore. You must useRouter.errorHandler(int, Handler)
with 400 error- Parameters:
validationFailureHandler
-- Returns:
-
setNotImplementedFailureHandler
@Deprecated RouterFactory setNotImplementedFailureHandler(Consumer<RoutingContext> notImplementedFailureHandler) Deprecated.You must useRouter.errorHandler(int, Handler)
with 501 error- Parameters:
notImplementedFailureHandler
-- Returns:
-
setBodyHandler
Deprecated.- Parameters:
bodyHandler
-- Returns:
- self
-
addGlobalHandler
Deprecated.- Parameters:
globalHandler
-- Returns:
-
setExtraOperationContextPayloadMapper
@Deprecated RouterFactory setExtraOperationContextPayloadMapper(Function<RoutingContext, io.vertx.core.json.JsonObject> extraOperationContextPayloadMapper) Deprecated.- Parameters:
extraOperationContextPayloadMapper
-- Returns:
-
newInstance
Deprecated.
-