Java API for Search Templates

As per the elastic document, There is a REST API to add mustache templates (Search Template)

https://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-template.html

is Java API support this now? If yes, What is the syntax to create search templates ?

have a look at the java api documentation search templates: https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-search-template.html