W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Re: Scanning header fields as they pass through proxy

From: Niklas Wiberg <e95_nwi@e.kth.se>
Date: Tue, 25 Jan 2000 01:06:00 +0100
Message-ID: <388CE8E8.C42A3826@e.kth.se>
To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
"CAMERON, CRAIG" wrote:
> 
> Hi,
>         I've finally modified HeaderFilter to add headers as requests pass
> through the proxy but I want to be able to add different information based
> on a particular (non-standard) header.  Looking through org\w3c\www\http\
> reveals lots of methods for scanning particular fields but I haven't found a
> function which just returns a particular header value (as a String) when
> given the header name (as a String).

I believe that's org.w3c.www.http.HttpMessage. Is has a method called
getValue(String name), which returns a String representation of the
value of header field name, according to the API doc. HttpRequestMessage
inherits from HttpMessage.

Regards
Niklas Wiberg
Received on Monday, 24 January 2000 18:57:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT