Hi, I see that there is a discussion about the enhancement of the HttpService. I would like to share some thoughts that we faced with before:
Jetty and Gemini Web (Tomcat) has an amazingly similar interface defined to query the opened ports with protocols. To use them in our integration test mechanism we had to write a class that hides the jetty/tomcat specific functions and makes it possible to query the opened ports in a common way. Why is it necessary? It is because in case of jetty we define port 0 (randomly assigned port) to be sure that it will use a free port on our CI server. However, this could be very useful in other cases as well. Please think of having a simple interface (like ServletContainer or HttpServer) defined to query a Map of opened port-protocol pairs with some pre-defined constant values for protocol types (like HTTP, HTTPS, AJP13). Thanks and regards, Balazs Zsoldos
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
