Announcement Announcement Module
No announcement yet.
Is it possible use proxy feature in Spring? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible use proxy feature in Spring?

    Hi Guys. Need help.

    Client(browser) performs a GET request to Spring server. Controller's method handles this get request. Further method invoke a GET request (rest call) to the other server and gets some data(file for example). Method responds back this data to the client when it was completely downloaded from other server (Browser <--> Spring server <--> the other server). This way is working good but is it possible to make it different?
    So that when some data arrives from the other server it should be forwarding the data straight through to the browser. This means data is forwarded by the spring Server as soon as some data arrives, so the browser is not kept waiting until the whole requested data is received by the Spring server.


    PS: sorry for my English