Is is possible to do a msearch/template call using the java rest client?(not using curl )

Trying to do a msearch/template call using the java rest client?(not using curl )

This? https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-search-msearch.html

Thanks but I wanted something with the java rest client. That is for java api.

The Java REST client is a low level client. So you basically need to do it "manually".
Should not be super difficult but you have to write the JSON part manually.