public class UrlUtil
extends org.springframework.web.util.UriUtils
| 构造器和说明 |
|---|
UrlUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
decodeUrl(String source,
Charset charset)
url 解码
|
static String |
encodeUrl(String source,
Charset charset)
url 编码,同js decodeURIComponent
|
static String |
getPath(String uriStr)
获取url路径
|
decode, decode, encode, encode, encodeAuthority, encodeAuthority, encodeFragment, encodeFragment, encodeHost, encodeHost, encodePath, encodePath, encodePathSegment, encodePathSegment, encodePort, encodePort, encodeQuery, encodeQuery, encodeQueryParam, encodeQueryParam, encodeQueryParams, encodeScheme, encodeScheme, encodeUriVariables, encodeUriVariables, encodeUserInfo, encodeUserInfo, extractFileExtensionCopyright © 2024. All rights reserved.