Java High Level Rest Client - including a basepath to request urls

Welcome!

This might help: RestHighLevelClient - Accessing an elastic http endpoint behind reverse proxy