Relative Content

Tag Archive for javaspringspring-bootservlets

How to get client host/domain name in spring boot controller

I have a spring boot application with one rest api. Will deploy it in one linux server.
And we have multiple java applications deployed in multiple linux servers calls that api.
Whenever a request made to that end point, I want the host name information to validate.