@FunctionalInterface
public interface HandlerFactory
Handler based on the contents of the received Request.
This interface is useful in creating mocks for remote APIs in tests.
| Modifier and Type | Method and Description |
|---|---|
ratpack.handling.Handler |
receive(ratpack.http.Request request) |