tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: getScheme
Date Wed, 10 Aug 2011 21:07:33 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mohit,

On 8/9/2011 3:08 PM, Mohit Anchlia wrote:
> tomcat docs for connectors say:
> 
> scheme: This sets the protocol name as accessed by the 
> ServletRequest.getScheme method. The scheme defaults to http.
> 
> Is there any other way scheme can be changed by using some Http 
> Headers instead of doing it in connector?

You can wrap the request in an HttpServletRequestWrapper and override
the getScheme method... or do just about anything else you want, too.

What are you really trying to do?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAk5C8xUACgkQ9CaO5/Lv0PB8nwCXWQAjfQtCvC26p9LloXA6CSyt
/wCfTwDQWxeE90eZgFgi8SGHvirmoPI=
=DOYc
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message