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.

    @FunctionalInterface
    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.

    Since:
    1.7.0