commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Sutton <Adrian.Sut...@Ephox.com>
Subject RE: HttpClient - Use as a server
Date Wed, 04 Jun 2003 22:50:19 GMT
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:dutchman_mn@hotmail.com]
Sent: Wednesday, 4 June 2003 11:29 PM
To: commons-user@jakarta.apache.org
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message