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 the original non Mutiny-ified interface using Vert.x codegen.

    • Method Detail

      • getDelegate

        io.vertx.ext.web.api.contract.RouterFactory getDelegate()
      • 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:
      • getValidationFailureHandler

        @Deprecated
        io.vertx.core.Handler<RoutingContext> getValidationFailureHandler()
        Deprecated.
        Router Factory won't manage the validation errors anymore. You must use Router.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 use Router.errorHandler(int, Handler) with 400 error
        Parameters:
        validationFailureHandler -
        Returns:
      • setNotImplementedFailureHandler

        @Deprecated
        RouterFactory setNotImplementedFailureHandler​(Consumer<RoutingContext> notImplementedFailureHandler)
        Deprecated.
        You must use Router.errorHandler(int, Handler) with 501 error
        Parameters:
        notImplementedFailureHandler -
        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)