From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Tuesday, 15 June 2010 8:06 AM
To: Tomcat Users List
Subject: Re: Setting scheme on catalina Requests
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
On 6/13/2010 6:03 PM, Matt Peterson wrote:
> I am trying to develop a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
On 6/13/2010 6:03 PM, Matt Peterson wrote:
> I am trying to develop a valve to modify requests based on a HTTP request
> header as set by our SSL terminating load balancer. The valve is to watch
> out for a particular header and when found, call
r time.
Mark
>
> Cheers,
> Matt.
>
>
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Monday, 14 June 2010 9:58 AM
> To: Tomcat Users List
> Subject: Re: Setting scheme on catalina Requests
>
> On 13/06/2010 23:40, Matthew Peterson wrot
homas [mailto:ma...@apache.org]
Sent: Monday, 14 June 2010 9:58 AM
To: Tomcat Users List
Subject: Re: Setting scheme on catalina Requests
On 13/06/2010 23:40, Matthew Peterson wrote:
> I still don't understand why the catalina.Request object doesn't implement
> the convenience method se
On 13/06/2010 23:40, Matthew Peterson wrote:
> I still don't understand why the catalina.Request object doesn't implement
> the convenience method setScheme(String) for this...
Try searching the archives. This has bee discussed previously.
Mark
Never mind. I found out how to do it. For anyone else interested, from a
catalina.Request object you need to get the underlying coyote.Request object,
access it's Scheme object (type MessageByte) and then set it's String value to
"https".
I still don't understand why the catalina.Request object