dev@glassfish.java.net

How does the loadbalance plugin get HTTP requester's IP?

From: Shen Hongzhou <shenhongzhou_at_gmail.com>
Date: Thu, 13 May 2010 16:56:01 +0800

Hi all,
We have the requirement of getting the HTTP requester's IP address, and we
have found that the loadbalance plugin sets the IP in HTTPHeader(proxy-ip).
We want to know How does the loadbalance plugin get HTTP requester's IP
address? Does it consider the proxy which used by the requester?
If you give me some source code, that will be great!
Thanks!

Shen