Re: Virtual Host support on the embedded HTTP server

2009-12-14 Thread David M. Lloyd
On 12/14/2009 03:58 PM, Michael McMahon wrote: The alternative is to select something O(1)-ish but this can drastically limit what is possible. Though like I said, for my purposes if you would allow for host name ("foo.bar.com") and a simple pattern mechanism ("*.bar.com" but not, say, "foo.*.com

Re: Virtual Host support on the embedded HTTP server

2009-12-14 Thread Michael McMahon
David M. Lloyd wrote: Responses inline. On 12/14/2009 12:20 PM, Michael McMahon wrote: Hi David, Apologies for missing this when it was suggested originally. Is there a particular use case you have in mind that requires the generality provided by the HostMatcher interface? (as opposed to the

Re: Virtual Host support on the embedded HTTP server

2009-12-14 Thread David M. Lloyd
opinion. -Chris. On 07/12/2009 11:23, Christopher Hegarty - Sun Microsystems Ireland wrote: This is certainly interesting. Let me take a look and I'll get back to you later. -Chris. On 04/12/2009 20:17, David M. Lloyd wrote: I've crafted a simple patch which extends the

Re: Virtual Host support on the embedded HTTP server

2009-12-14 Thread Michael McMahon
009 20:17, David M. Lloyd wrote: I've crafted a simple patch which extends the API of the embedded HTTP server to support virtual hosts. The patch is designed to add the new functionality without breaking existing implementations which do not support virtual hosts, or code which uses the

Re: Virtual Host support on the embedded HTTP server

2009-12-14 Thread David M. Lloyd
back to you later. -Chris. On 04/12/2009 20:17, David M. Lloyd wrote: I've crafted a simple patch which extends the API of the embedded HTTP server to support virtual hosts. The patch is designed to add the new functionality without breaking existing implementations which do not support virtua

Re: Virtual Host support on the embedded HTTP server

2009-12-14 Thread Christopher Hegarty - Sun Microsystems Ireland
is is certainly interesting. Let me take a look and I'll get back to you later. -Chris. On 04/12/2009 20:17, David M. Lloyd wrote: I've crafted a simple patch which extends the API of the embedded HTTP server to support virtual hosts. The patch is designed to add the new funct

Re: Virtual Host support on the embedded HTTP server

2009-12-07 Thread Christopher Hegarty - Sun Microsystems Ireland
This is certainly interesting. Let me take a look and I'll get back to you later. -Chris. On 04/12/2009 20:17, David M. Lloyd wrote: I've crafted a simple patch which extends the API of the embedded HTTP server to support virtual hosts. The patch is designed to add the new fun

Virtual Host support on the embedded HTTP server

2009-12-04 Thread David M. Lloyd
I've crafted a simple patch which extends the API of the embedded HTTP server to support virtual hosts. The patch is designed to add the new functionality without breaking existing implementations which do not support virtual hosts, or code which uses the HttpServer API today. It doe

Re: Embedded HTTP server

2008-06-20 Thread David M. Lloyd
On 06/20/2008 06:30 AM, Michael McMahon wrote: From a technical perspective, I'd really only make one change. Right now, server contexts are registered on the HttpServer directly. It would be nice if, instead of registering contexts, you just register a HttpHandler directly on the HttpServer

Re: Embedded HTTP server

2008-06-20 Thread Michael McMahon
David M. Lloyd wrote: On 06/19/2008 05:11 AM, Michael McMahon wrote: David, It was originally intended that the httpserver API would be part of the platform (actually in the package suggested above) but some members of the umbrella JSR for jdk 6 didn't agree with including a http server API in

Re: Embedded HTTP server

2008-06-19 Thread David M. Lloyd
On 06/19/2008 05:11 AM, Michael McMahon wrote: David, It was originally intended that the httpserver API would be part of the platform (actually in the package suggested above) but some members of the umbrella JSR for jdk 6 didn't agree with including a http server API in Java SE. So, it was dr

Re: Embedded HTTP server

2008-06-19 Thread Michael McMahon
David M. Lloyd wrote: On 06/18/2008 11:03 AM, Christopher Hegarty - Sun Microsystems Ireland wrote: I think that this thread should be moved to the net-dev alias. I know that Michael is certainly a member of net-dev and is currently the owner of the HTTP server. OK, great. To restate the or

Re: Embedded HTTP server

2008-06-18 Thread David M. Lloyd
On 06/18/2008 11:03 AM, Christopher Hegarty - Sun Microsystems Ireland wrote: I think that this thread should be moved to the net-dev alias. I know that Michael is certainly a member of net-dev and is currently the owner of the HTTP server. OK, great. To restate the original subject of this

Re: Embedded HTTP server

2008-06-18 Thread Alan Bateman
David M. Lloyd wrote: Is Michael presently in charge of this piece of software from Sun's perspective? Is he subscribed to this list? I've cc'ed the networking group as that is where he HTTP server is maintained. Micahel is a member of that group. It may be worth re-sending your original prop

Re: Embedded HTTP server

2008-06-18 Thread Christopher Hegarty - Sun Microsystems Ireland
I think that this thread should be moved to the net-dev alias. I know that Michael is certainly a member of net-dev and is currently the owner of the HTTP server. -Chris. David M. Lloyd wrote: On 05/27/2008 02:15 PM, Alan Bateman wrote: Juha Lindfors wrote: On Tue, May 27, 2008 at 7:03 P