This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi. In HttpServer I miss possibility to start server and also I would like to get server root url ("http://<hostname>:<port>/"). In XML module I have Transform Servlet used as transformation preview so I need to start http server before preview and also I need to construct url as "server root url" + "servlet/...TransformServlet". Currently I have to depend dirrectly on httpservlet but I would like to rather use 'OpenIDE-Module-Requires: org.openide.util.HttpServer$Impl' in module manifest what is much better. Is it possible to add those methods to HttpServer(.Impl)? Thanks, Libor
Set target milestone to TBD
Access through openAPI is deprecated now. Passing to httpserver maintainers
Currently there is no real API (HttpServer from openide is dead). There is only a workaround - httpserver defines HTTPServer_DUMMY folder on SFS and TransformServlet can ask for its NETWORK URL and thus start the server and obtains its port. Some sort of minimalistic (friend?) API can be more readable and avoid this dummy folder. The xml/xsl needs some sort of dependecy anyway.