Access Image URL without Extension from OpenText Content Server

Hi Team,

We are trying to access this image from OpenText Folder using JAVA, but we have no idea how to do this. We have very large OpenText Document Server.

URL : https://abc-dev.company.com/otcs/cs.exe/1222348/product.png?func=doc.Fetch&nodeid=1222348&viewType=1

The URL is modified to protect the integrity, but it the URL format is accurate.

Please help.

Thank you.