Package ratpack.test.handling
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 RatpackHandler
based on the contents of the receivedRequest
.This interface is useful in creating mocks for remote APIs in tests.
- Since:
- 1.7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Handler
receive(Request request)
-