I want to get any attribute(url/domain/hostname) of the origin server from which request arises when I am re-directed to some other server.
For Ex: I am on applciation say abc.com and from this, I am re-directed to pqr.com, when I am on this server how can I get the server information of the origin server so that I can put some check and execute code in java.