public class URLDecoder extends Object implements Serializable
1. 将%20转换为空格 ; 2. 将"%xy"转换为文本形式,xy是两位16进制的数值; 3. 跳过不符合规范的%形式,直接输出
Constructor and Description |
---|
URLDecoder() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] bytes)
解码
|
static String |
decode(String str,
Charset charset)
解码
|
Copyright © 2021. All rights reserved.