Package org.gpel.client.http.apache_http_client

Examples of org.gpel.client.http.apache_http_client.Transport


            return;
        }

        logger.finest("Connecting a GPEL Engine at " + this.engineURL);
        try {
            Transport transport;
            if (isSecure()) {
                if (this.gpelUserX509Credential == null) {
                    logger.finest("Using ssl without any credential.");
                    this.gpelUserX509Credential = new GpelUserX509Credential(
                            null, XBayaSecurity.getTrustedCertificates());
                }
                transport = new Transport(this.gpelUserX509Credential);
            } else {
                // This one is phasing out.
                GpelUserCredentials credentials = new GpelUserCredentials(
                        "user", "password");
                transport = new Transport(credentials);
            }
            this.client = new GpelClient(this.engineURL, transport);
            this.client.setFilter(this.linksFilter);
            sendSafeEvent(new Event(Event.Type.GPEL_ENGINE_CONNECTED));
        } catch (RuntimeException e) {
View Full Code Here

TOP

Related Classes of org.gpel.client.http.apache_http_client.Transport

Copyright © 2018 www.massapicom. 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.