TransportClient with username and password

Hello,

I want to create elasticsearch TransportClient with basic authentication. I see that the TransportClient uses InetSocketTransportAddress but this only accepts host and port. However the url I have is this: http://gopivotal:PASSWORD@fili-us-east-1.searchly.com. Is there any way to specify username and password on the TransportClient?

Are you sure this URL is not the REST endpoint ?

If it is you can not use a Transport Client.

OK I see... I found this here a bit too late:
http://docs.run.pivotal.io/marketplace/services/searchly.html