当前位置:网站首页>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"));
边栏推荐
- egg. JS directory structure
- sys. argv
- China Light conveyor belt in-depth research and investment strategy report (2022 Edition)
- [research materials] 2021 live broadcast annual data report of e-commerce - Download attached
- Image fusion -- challenges, opportunities and Countermeasures
- Chrome浏览器的crash问题
- MySQL learning record 07 index (simple understanding)
- 2022.02.13 - NC001. Reverse linked list
- Upgrade tidb operator
- PLT in Matplotlib tight_ layout()
猜你喜欢
JVM 快速入门
【MySQL】锁
[MySQL] database stored procedure and storage function clearance tutorial (full version)
Hcip day 16
What is CSRF (Cross Site Request Forgery)?
JVM performance tuning and practical basic theory - Part 1
【MySQL】鎖
指针进阶---指针数组,数组指针
Bottom up - physical layer
MySQL learning record 10getting started with JDBC
随机推荐
Wincc7.5 download and installation tutorial (win10 system)
查看局域网中电脑设备
Tidb backup and recovery introduction
Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
[MySQL] lock
软件卸载时遇到trying to use is on a network resource that is unavailable
Research Report on supply and demand and development prospects of China's high purity aluminum market (2022 Edition)
China's high purity aluminum target market status and investment forecast report (2022 Edition)
CISP-PTE实操练习讲解
Fibonacci sequence
Use dumping to back up tidb cluster data to S3 compatible storage
China high purity silver nitrate Market Research and investment strategy report (2022 Edition)
Analysis of pointer and array written test questions
Restore backup data on S3 compatible storage with tidb lightning
sublime text的编写程序时的Tab和空格缩进问题
Pointer advanced --- pointer array, array pointer
Colorlog combined with logging to print colored logs
What is the use of entering the critical point? How to realize STM32 single chip microcomputer?
Migrate data from a tidb cluster to another tidb cluster
leetcode刷题 (5.28) 哈希表