Boolean httpEnabled = Details.getBooleanProp(context, JettyConstants.HTTP_ENABLED, true);
defaultSettings.put(JettyConstants.HTTP_ENABLED, httpEnabled);
int httpPort = Details.getIntProp(context, JettyConstants.HTTP_PORT, -1);
if (httpPort == -1)
httpPort = Details.getInt(context, ORG_OSGI_SERVICE_HTTP_PORT, 0);
<BUG>defaultSettings.put(JettyConstants.HTTP_PORT, new Integer(httpPort));
</BUG>
String httpHost = Details.getStringProp(context, JettyConstants.HTTP_HOST, null);
if (httpHost != null)
defaultSettings.put(JettyConstants.HTTP_HOST, httpHost);

Boolean httpEnabled = Details.getBooleanProp(context, JettyConstants.HTTP_ENABLED, true);
defaultSettings.put(JettyConstants.HTTP_ENABLED, httpEnabled);
int httpPort = Details.getIntProp(context, JettyConstants.HTTP_PORT, -1);
if (httpPort == -1)
httpPort = Details.getInt(context, ORG_OSGI_SERVICE_HTTP_PORT, 0);
defaultSettings.put(JettyConstants.HTTP_PORT, Integer.valueOf(httpPort));
String httpHost = Details.getStringProp(context, JettyConstants.HTTP_HOST, null);
if (httpHost != null)
defaultSettings.put(JettyConstants.HTTP_HOST, httpHost);
