@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 |
|---|---|
Handler |
receive(Request request) |