Interface RouterFactory
-
- All Known Implementing Classes:
OpenAPI3RouterFactory
public interface RouterFactory
Main interface for Design Driven Router factory Author: Francesco Guardiani @slinkydeveloper 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<RoutingContext>
TYPE_ARG_0
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RouterFactory
addGlobalHandler(Consumer<RoutingContext> globalHandler)
Deprecated.RouterFactory
addSecurityHandler(String securitySchemaName, Consumer<RoutingContext> handler)
Deprecated.io.vertx.ext.web.api.contract.RouterFactory
getDelegate()
io.vertx.ext.web.api.contract.RouterFactoryOptions
getOptions()
Deprecated.Router
getRouter()
Deprecated.io.vertx.core.Handler<RoutingContext>
getValidationFailureHandler()
Deprecated.Router Factory won't manage the validation errors anymore.static RouterFactory
newInstance(io.vertx.ext.web.api.contract.RouterFactory arg)
RouterFactory
setBodyHandler(BodyHandler bodyHandler)
Deprecated.RouterFactory
setExtraOperationContextPayloadMapper(Function<RoutingContext,io.vertx.core.json.JsonObject> extraOperationContextPayloadMapper)
Deprecated.RouterFactory
setNotImplementedFailureHandler(Consumer<RoutingContext> notImplementedFailureHandler)
Deprecated.You must useRouter.errorHandler(int, Handler)
with 501 errorRouterFactory
setOptions(io.vertx.ext.web.api.contract.RouterFactoryOptions options)
Deprecated.RouterFactory
setValidationFailureHandler(Consumer<RoutingContext> validationFailureHandler)
Deprecated.Router Factory won't manage the validation errors anymore.
-
-
-
Field Detail
-
TYPE_ARG_0
static final TypeArg<RoutingContext> TYPE_ARG_0
-
-
Method Detail
-
getDelegate
io.vertx.ext.web.api.contract.RouterFactory getDelegate()
-
addSecurityHandler
@Deprecated RouterFactory addSecurityHandler(String securitySchemaName, Consumer<RoutingContext> handler)
Deprecated.- Parameters:
securitySchemaName
-handler
-- Returns:
-
setOptions
@Deprecated RouterFactory setOptions(io.vertx.ext.web.api.contract.RouterFactoryOptions options)
Deprecated.- Parameters:
options
-- Returns:
-
getOptions
@Deprecated io.vertx.ext.web.api.contract.RouterFactoryOptions getOptions()
Deprecated.- Returns:
-
getRouter
@Deprecated Router getRouter()
Deprecated.- Returns:
-
getValidationFailureHandler
@Deprecated io.vertx.core.Handler<RoutingContext> 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 RouterFactory setBodyHandler(BodyHandler bodyHandler)
Deprecated.- Parameters:
bodyHandler
-- Returns:
- self
-
addGlobalHandler
@Deprecated RouterFactory addGlobalHandler(Consumer<RoutingContext> globalHandler)
Deprecated.- Parameters:
globalHandler
-- Returns:
-
setExtraOperationContextPayloadMapper
@Deprecated RouterFactory setExtraOperationContextPayloadMapper(Function<RoutingContext,io.vertx.core.json.JsonObject> extraOperationContextPayloadMapper)
Deprecated.- Parameters:
extraOperationContextPayloadMapper
-- Returns:
-
newInstance
static RouterFactory newInstance(io.vertx.ext.web.api.contract.RouterFactory arg)
-
-