Package org.apache.catalina

Examples of org.apache.catalina.Host.addAlias()


            if (host == null) {
                host = createHost(engine, hostName);
                newHost = true;
            }
            while (vhi.hasNext()) {
                host.addAlias(vhi.next());
            }
            context.setRealm(host.getRealm());
            host.addChild(context);
            context.getMapper().setDefaultHostName(host.getName());
View Full Code Here


                lifecycle.addLifecycleListener(listener);
            }
        }
        //alias
        for (String alias : getAlias()) {
            host.addAlias(alias);
        }
        //valve
        if (host instanceof Pipeline) {
            Pipeline pipeline = (Pipeline) host;
            for (ValveType valveType : getValve()) {
View Full Code Here

            if (host == null) {
                host = createHost(engine, hostName);
                newHost = true;
            }
            while (vhi.hasNext()) {
                host.addAlias((String) vhi.next());
            }
            context.setRealm(host.getRealm());
            host.addChild(context);
            context.getMapper().setDefaultHostName(host.getName());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.