How to shutdown com.sun.net.httpserver.HttpServer ?

Posted by Dean Schulze on Stack Overflow See other posts from Stack Overflow or by Dean Schulze
Published on 2009-05-29T21:21:37Z Indexed on 2010/05/26 22:31 UTC
Read the original article Hit count: 351

Filed under:
|

The Http Server embedded in JDK 6 is a big help developing web services, but I've got situation where I published an Endpoint and then the code crashed and left the server running.

How do you shutdown the embedded server once you've lost the reference to it (or the published Endpoint)?

© Stack Overflow or respective owner

Related posts about jdk1.6

Related posts about httpserver