当前位置:网站首页>hutool优雅解析URL链接并获取参数
hutool优雅解析URL链接并获取参数
2022-07-06 08:30:00 【XYLANCC】
UrlBuilder builder = UrlBuilder.ofHttp("www.hutool.cn/aaa/bbb/?a=张三&b=%e6%9d%8e%e5%9b%9b#frag1", CharsetUtil.CHARSET_UTF_8);
// 输出张三
Console.log(builder.getQuery().get("a"));
// 输出李四
Console.log(builder.getQuery().get("b"));
边栏推荐
- Upgrade tidb with tiup
- 移位运算符
- Grayscale upgrade tidb operator
- pcd转ply后在meshlab无法打开,提示 Error details: Unespected eof
- China Light conveyor belt in-depth research and investment strategy report (2022 Edition)
- Erc20 token agreement
- ROS编译 调用第三方动态库(xxx.so)
- 指针进阶---指针数组,数组指针
- Colorlog结合logging打印有颜色的日志
- Leetcode question brushing (5.31) string
猜你喜欢
![[research materials] 2021 China online high growth white paper - Download attached](/img/51/bea6179e4fac88f8b550b4213a2bca.jpg)
[research materials] 2021 China online high growth white paper - Download attached

查看局域网中电脑设备

2022.02.13 - 238. Maximum number of "balloons"
![[MySQL] lock](/img/ce/9f8089da60d9b3a3f92a5e4eebfc13.png)
[MySQL] lock

CISP-PTE实操练习讲解

What is the use of entering the critical point? How to realize STM32 single chip microcomputer?

【ROS】usb_cam相机标定

电脑清理,删除的系统文件

pcd转ply后在meshlab无法打开,提示 Error details: Unespected eof

Zhong Xuegao, who cannot be melted, cannot escape the life cycle of online celebrity products
随机推荐
2022.02.13 - 238. Maximum number of "balloons"
[brush questions] top101 must be brushed in the interview of niuke.com
[cloud native] teach you how to build ferry open source work order system
sublime text的编写程序时的Tab和空格缩进问题
3. File operation 3-with
MySQL learning record 07 index (simple understanding)
指针进阶---指针数组,数组指针
VMware virtualization cluster
从表中名称映射关系修改视频名称
LDAP Application Section (4) Jenkins Access
【ROS】usb_cam相机标定
Leetcode skimming (5.29) hash table
Research Report on supply and demand and development prospects of China's high purity aluminum market (2022 Edition)
sublime text中conda环境中plt.show无法弹出显示图片的问题
ROS编译 调用第三方动态库(xxx.so)
tree树的精准查询
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached
Sort according to a number in a string in a column of CSV file
2022 Inner Mongolia latest water conservancy and hydropower construction safety officer simulation examination questions and answers
Beijing invitation media