类 URLStrParser
- java.lang.Object
-
- org.apache.dubbo.common.URLStrParser
-
public final class URLStrParser extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringENCODED_AND_MARKstatic StringENCODED_PID_KEYstatic StringENCODED_QUESTION_MARKstatic StringENCODED_TIMESTAMP_KEY
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static URLparseDecodedStr(String decodedURLStr)static URLparseDecodedStr(String decodedURLStr, boolean modifiable)static URLparseEncodedStr(String encodedURLStr)static URLparseEncodedStr(String encodedURLStr, boolean modifiable)static Map<String,String>parseParams(String rawParams, boolean encoded)static String[]parseRawURLToArrays(String rawURLStr, int pathEndIdx)
-
-
-
方法详细资料
-
parseDecodedStr
public static URL parseDecodedStr(String decodedURLStr, boolean modifiable)
- 参数:
decodedURLStr- : afterURL.decode(java.lang.String)string decodedURLStr format: protocol://username:password@host:port/path?k1=v1&k2=v2 [protocol://][username:password@][host:port]/[path][?k1=v1&k2=v2]
-
parseEncodedStr
public static URL parseEncodedStr(String encodedURLStr, boolean modifiable)
- 参数:
encodedURLStr- : afterURL.encode(String)string encodedURLStr after decode format: protocol://username:password@host:port/path?k1=v1&k2=v2 [protocol://][username:password@][host:port]/[path][?k1=v1&k2=v2]
-
-