HttpClient definitely cannot do this since it implements the client side of the arrangement. There may be a bunch of useful parsing code in HttpClient, but I'm sure you'll be able to find a complete solution somewhere and it looks like one possibility has already shown up.
Of course, if your rudimentary socket server is working do you really want to change it? Regards, Adrian Sutton, Software Engineer Ephox Corporation www.ephox.com -----Original Message----- From: Perry Hoekstra [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2003 11:29 PM To: [EMAIL PROTECTED] Subject: HttpClient - Use as a server Question: Can HttpClient be used to build a tiny Web Server? Yes, I know that is not the charter of the package. However, I need to build a tiny Web Server that accepts posts on a given port for some testing. I built a rudimentary socket server but I would like to use something with a little more abstraction and ran into HttpClient. Thoughts? If not HttpClient, anyone know an open source Java package that would provide the ability to build a minimal Web Server of off? Perry Hoekstra _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
