Interface HandlerFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface HandlerFactory
    An interface for creating a Ratpack Handler based on the contents of the received Request.

    This interface is useful in creating mocks for remote APIs in tests.