当前位置:网站首页>Hutool gracefully parses URL links and obtains parameters
Hutool gracefully parses URL links and obtains parameters
2022-07-06 08:38:00 【XYLANCC】
UrlBuilder builder = UrlBuilder.ofHttp("www.hutool.cn/aaa/bbb/?a= Zhang San &b=%e6%9d%8e%e5%9b%9b#frag1", CharsetUtil.CHARSET_UTF_8);
// Output Zhang San
Console.log(builder.getQuery().get("a"));
// Output Li Si
Console.log(builder.getQuery().get("b"));
边栏推荐
- sys. argv
- Mobile phones and computers on the same LAN access each other, IIS settings
- View computer devices in LAN
- Sort according to a number in a string in a column of CSV file
- 个人电脑好用必备软件(使用过)
- PC easy to use essential software (used)
- JS inheritance method
- Research and investment forecast report of citronellol industry in China (2022 Edition)
- 2. File operation - write
- swagger设置字段required必填
猜你喜欢
Trying to use is on a network resource that is unavailable
PLT in Matplotlib tight_ layout()
深度剖析C语言指针
Configuring OSPF load sharing for Huawei devices
C语言深度解剖——C语言关键字
Analysis of the source code of cocos2d-x for mobile game security (mobile game reverse and protection)
[cloud native topic -45]:kubesphere cloud Governance - Introduction and overall architecture of enterprise container platform based on kubernetes
【MySQL】鎖
【ROS】usb_cam相机标定
Image, CV2 read the conversion and size resize change of numpy array of pictures
随机推荐
电脑清理,删除的系统文件
Computer cleaning, deleted system files
Golang force buckle leetcode 1020 Number of enclaves
poi追加写EXCEL文件
【MySQL】锁
Sublime text in CONDA environment plt Show cannot pop up the problem of displaying pictures
CISP-PTE实操练习讲解
如何进行接口测试测?有哪些注意事项?保姆级解读
延迟初始化和密封类
How to conduct interface test? What are the precautions? Nanny level interpretation
Crash problem of Chrome browser
[MySQL] lock
2022 Inner Mongolia latest water conservancy and hydropower construction safety officer simulation examination questions and answers
pytorch训练好的模型在加载和保存过程中的问题
C语言双指针——经典题型
IOT -- interpreting the four tier architecture of the Internet of things
leetcode刷题 (5.28) 哈希表
JS inheritance method
Double pointeur en langage C - - modèle classique
Ruffian Heng embedded bimonthly, issue 49