URLConnection behind proxy (not reverse proxy)

To clearify the case:
this proxy only works through an internal domain and without a password or username.

Here’s an old thread, which were unsolved with the same topic: