Has somebody tried to get  API object with the constructor having parameters- URL and restapisession-  by using java-sdk ?
Here is the following syntax ?
Api api =new Api(RestURL,restapisessionID)

I have searched a lot but i didn't find anything. Somewhere  I read that Ovirt has some issue on keeping restapisession. Is it correct ?