com.qiniu.api.rs.URLUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Qiniu Resource (Cloud) Storage SDK demo for Java
package com.qiniu.api.rs;
import org.apache.commons.codec.EncoderException;
import com.qiniu.api.url.URLEscape;
public class URLUtils {
// to do url.escape();
public static String makeBaseUrl(String domain, String key) throws EncoderException {
return "http://" + domain + "/" + URLEscape.escape(key);
}
}