-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Elli,
On 9/27/2009 12:19 AM, Elli Albek wrote:
> public void setRemoteAddr(String remoteAddr) {
> // Not used
> }
>
> The variable is protected so I cannot access it directly from my code.
What variable? The remoteAddress member?
> Is there any way to implement this Valve?
Wrap the request object in a subclass that you write. This will allow
you to either
a) Override the setRemoteAddress method to return whatever you want
b) Explicitly set the remoteAddress member to whatever you want
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrEzh0ACgkQ9CaO5/Lv0PAmqwCeJpvyj0k9Ze+QKLkyRNqfpvzp
nccAniLAI/gdF65qw9EF6HLsXqcSgacP
=S2JM
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org