Home > Tag Archives: ServerExchange Spring Webflux

Tag Archives: ServerExchange Spring Webflux

Get Client Remote Address from ServerExchange in Spring WebFlux and whitelist IP

reactive spring

Below is the Spring WebFlux code to fetch the client Remote Address from the ServerExchange object. Say, we have a scenario wherein we have to check if the API request is coming from the authorized IP address list, in the web filter we will fetch the IP address of the client and will match with the set of given IP’s ... Read More »