Interface ValidatorRouter

  • All Known Implementing Classes:
    UrlRouter

    public interface ValidatorRouter
    This interface allows the user to map request to handler.
    Author:
    Maksim Tkachenko, Ween Jiann Lee
    • Method Detail

      • getValidator

        Validator getValidator​(@NotNull
                               @NotNull Request request)
        Returns the handler to be used for a specified request.

        This will only be used if a handler is not specified in when added to scheduler

        Parameters:
        request - request made
        Returns:
        the instance of handler to be used