Search in sources :

Example 1 with HTTPServiceConfig

use of com.sun.appserv.management.config.HTTPServiceConfig in project Payara by payara.

the class HTTPListenerConfigTest method testGetHTTPListeners.

public void testGetHTTPListeners() {
    final HTTPServiceConfig httpService = getConfigConfig().getHTTPServiceConfig();
    final Map<String, HTTPListenerConfig> proxies = httpService.getHTTPListenerConfigMap();
    for (final String listenerName : proxies.keySet()) {
        final HTTPListenerConfig listener = (HTTPListenerConfig) proxies.get(listenerName);
        listener.getEnabled();
    }
}
Also used : HTTPListenerConfig(com.sun.appserv.management.config.HTTPListenerConfig) HTTPServiceConfig(com.sun.appserv.management.config.HTTPServiceConfig)

Aggregations

HTTPListenerConfig (com.sun.appserv.management.config.HTTPListenerConfig)1 HTTPServiceConfig (com.sun.appserv.management.config.HTTPServiceConfig)1