Weisong,
On Wednesday 24 Oct 2001 3:08 am, Weisong Shi wrote:
Hi,
I am trying to play with ICAP recently. Is there any open source
implementation of ICAP server?
Since the performance is one of the most important issues of ICAP
server, does anybody know how does the ICAP server hosting those services,
and mapping ICAP requests to them? If I have some services which are
implemented in Servlet, How can I benefit from ICAP?
Thanks.
-Weisong
Servlet and ICAP/Proxylet are not always equivalent technologies. A Servlet
converts a request into a response, ICAP and Proxylet modifies a request or
modifies a response. They may have filter like behaviour. You may have access
to both a fully formed request and a fully formed response at the time you
From the draft, you can act as an page source by receiving an ICAP request
with the header Encapsulated: req-hdr=0 and writing header Encapsulated:
res-hdr=0 res-body=200 in the response. (numbers are offsets to start of
message sections)
It would be fairly straightforward to port a current Servlet to the Proxylet
API I suggested.
http://www.ietf-opes.org/documents/draft-walker-opes-proxylet-java-binding-01.txt
NB This is not a proper draft yet, and there has been no consensus on this
API explicitly stated on the list.
--
Regards,
Andrew Walker
Thundercrack Ltd.
17 Rathbone Street
London, W1T 1ND
UK
Phone: +44 020 7631 1000
EMail: andrew(_dot_)walker(_at_)thundercrack(_dot_)com
URI: http://www.thundercrack.com