Search code examples
javahttpicap

Sending file and receiving response using ICAP and Java


I'm trying to communicate with a Blue Coat anti-virus box using ICAP. I'm fairly new at Java, but i do have experience in other object-oriented languages. I have tested using c-icap-client on Ubuntu and I can confirm that the server I'm testing with is working.

ICAP should be HTTP-like which explains the HTTP tag (not enough reputation for creating ICAP).

Does anyone have a tip or coding example to get me started with ICAP in Java? I want to end up sending a file and receiving a response based on it's security risk.


Solution

  • I eventually figured out myself. Both a Java and C# version is available from GitHub: https://github.com/Baekalfen/ICAP-avscan