I need to read binary file from intranet http server and get it to download to public.
SCHEMA
intranet file server(Apache)=1 <–>Public http server(Apache Tomcat)=2<–>internet authorized user=3
howto release this without save to filesystem on server 2
Thanks for answers i am new on java.
Sorry for my English.
Use java.net.URL (or another http client) to read from 1 and then print it out (in response to 3).
(In Apache Http Server or Nginx this can be achieved using reverse proxy.)