use of org.glassfish.grizzly.config.ContextRootInfo in project Payara by payara.
the class ContainerMapper method register.
public void register(String contextRoot, Collection<String> vs, HttpHandler httpService, ApplicationContainer container) {
if (LOGGER.isLoggable(Level.FINE)) {
LOGGER.log(Level.FINE, "MAPPER({0}) REGISTER contextRoot: {1} adapter: {2} container: {3} port: {4}", new Object[] { this, contextRoot, httpService, container, String.valueOf(listener.getPort()) });
}
mapMultipleAdapter = true;
ContextRootInfo c = new ContextRootInfo(httpService, container);
for (String host : vs) {
mapper.addContext(host, contextRoot, c, new String[0], null);
/*
if (adapter instanceof StaticResourcesAdapter) {
mapper.addWrapper(host, ctx, wrapper, c);
}
*/
}
}
Aggregations