private void printInfoHost(StringBuilder buf, String uri, boolean reduceDisplay, boolean allowCmd, final Node node) {
        for (Node.VHostMapping host : node.getVHosts()) {
            if (!reduceDisplay) {
                buf.append("<h2> Virtual Host " + host.getId() + ":</h2>");
            }
            printInfoContexts(buf, uri, reduceDisplay, allowCmd, host.getId(), host, node);
            if (reduceDisplay) {
                buf.append("Aliases: ");
                for (String alias : host.getAliases()) {
                    buf.append(alias + " ");
                }
            } else {
                buf.append("<h3>Aliases:</h3>");
                buf.append("<pre>");
                for (String alias : host.getAliases()) {
                    buf.append(alias + "\n");
                }
                buf.append("</pre>");
            }
        }
    }
private void printInfoHost ( StringBuilder buf , String uri , boolean reduceDisplay , boolean allowCmd , final Node node ) { for ( Node . VHostMapping host : node . getVHosts ( ) ) { if ( ! reduceDisplay ) { buf . append ( "<h2> Virtual Host " + host . getId ( ) + ":</h2>" ) ; } printInfoContexts ( buf , uri , reduceDisplay , allowCmd , host . getId ( ) , host , node ) ; if ( reduceDisplay ) { buf . append ( "Aliases: " ) ; for ( String alias : host . getAliases ( ) ) { buf . append ( alias + " " ) ; } } else { buf . append ( "<h3>Aliases:</h3>" ) ; buf . append ( "<pre>" ) ; for ( String alias : host . getAliases ( ) ) { buf . append ( alias + "\n" ) ; } buf . append ( "</pre>" ) ; } } }
/* based on manager_info_hosts