Examples of RemoteUrl


Examples of com.baidu.disconf.client.fetcher.inner.restful.core.RemoteUrl

     * @return
     */
    public static String getValueFromServer(String url) throws Exception {

        // 远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, DisClientConfig.getInstance()
                .getHostList());

        ValueVo confItemVo = RestfulMgr.getInstance().getJsonData(
                ValueVo.class, remoteUrl);
        LOGGER.info("remote server return: " + confItemVo.toString());
View Full Code Here

Examples of com.baidu.disconf.client.fetcher.inner.restful.core.RemoteUrl

        String localTmpDir = getLocalDownloadDirPath(true);
        // 下载的路径
        String localDir = getLocalDownloadDirPath(false);

        // 设置远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, DisClientConfig.getInstance()
                .getHostList());

        // 下载
        return RestfulMgr
                .getInstance()
View Full Code Here

Examples of com.baidu.disconf.core.common.restful.core.RemoteUrl

     * @return
     */
    public String getValueFromServer(String url) throws Exception {

        // 远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, hostList);

        ValueVo confItemVo = restfulMgr.getJsonData(ValueVo.class, remoteUrl,
                retryTime, retrySleepSeconds);
        LOGGER.debug("remote server return: " + confItemVo.toString());

View Full Code Here

Examples of com.baidu.disconf.core.common.restful.core.RemoteUrl

        String localTmpDir = getLocalDownloadDirPath(true);
        // 下载的路径
        String localDir = getLocalDownloadDirPath(false);

        // 设置远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, hostList);

        // 下载
        return restfulMgr.downloadFromServer(remoteUrl, fileName, localTmpDir,
                localDir, this.enableLocalDownloadDirInClassPath, retryTime,
                retrySleepSeconds);
View Full Code Here

Examples of com.baidu.disconf.core.common.restful.core.RemoteUrl

     * @return
     */
    public String getValueFromServer(String url) throws Exception {

        // 远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, hostList);

        ValueVo confItemVo = restfulMgr.getJsonData(ValueVo.class, remoteUrl,
                retryTime, retrySleepSeconds);
        LOGGER.debug("remote server return: " + confItemVo.toString());

View Full Code Here

Examples of com.baidu.disconf.core.common.restful.core.RemoteUrl

        String localTmpDir = getLocalDownloadDirPath(true);
        // 下载的路径
        String localDir = getLocalDownloadDirPath(false);

        // 设置远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, hostList);

        // 下载
        return restfulMgr.downloadFromServer(remoteUrl, fileName, localTmpDir,
                localDir, this.enableLocalDownloadDirInClassPath, retryTime,
                retrySleepSeconds);
View Full Code Here

Examples of com.baidu.disconf.core.common.restful.core.RemoteUrl

        String localTmpDir = getLocalDownloadDirPath(true);
        // 下载的路径
        String localDir = getLocalDownloadDirPath(false);

        // 设置远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, hostList);

        // 下载
        return restfulMgr.downloadFromServer(remoteUrl, fileName, localTmpDir,
                localDir, this.enableLocalDownloadDirInClassPath, retryTime,
                retrySleepSeconds);
View Full Code Here

Examples of com.baidu.disconf.core.common.restful.core.RemoteUrl

     * @return
     */
    public String getValueFromServer(String url) throws Exception {

        // 远程地址
        RemoteUrl remoteUrl = new RemoteUrl(url, hostList);

        ValueVo confItemVo = restfulMgr.getJsonData(ValueVo.class, remoteUrl,
                retryTime, retrySleepSeconds);
        LOGGER.info("remote server return: " + confItemVo.toString());

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.