class MifosChatbotAdapterService implements AdapterService {

    @Override
    public List<MifosResponse> handle(Intent intent) {
        return handlers
            .stream()
            .filter(handler -> handler.canHandle(intent))
            .map(handler -> handler.handle(intent))
            .collect(Collectors.toList());
    }

}