Package com.flaptor.util.remote

Examples of com.flaptor.util.remote.XmlrpcClient


     * @param port the port where the XmlSearcher is running on.
     */
    public XmlIndexerClient(final String host, final int port) {
        final String url = "http://" + host + ":" + port;
        try {
            xmlrpc = new XmlrpcClient(new URL(url));
        } catch (MalformedURLException e) {
            throw new IllegalArgumentException("Invalid url: " + url
                    + ". Check host and port parameters.");
        }
    }
View Full Code Here


     *             if the host/port combination cannot generate a valid url.
     */
    public XmlSearcherClient(final String host, final int port) {
        final String url = "http://" + host + ":" + port;
        try {
            xmlrpc = new XmlrpcClient(new URL(url));
        } catch (MalformedURLException e) {
            throw new IllegalArgumentException("Invalid url: " + url
                    + ". Check host and port parameters.");
        }
    }
View Full Code Here

TOP

Related Classes of com.flaptor.util.remote.XmlrpcClient

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.