当前位置:网站首页>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"));
边栏推荐
- LDAP应用篇(4)Jenkins接入
- sublime text没关闭其他运行就使用CTRL+b运行另外的程序问题
- Verrouillage [MySQL]
- Synchronized solves problems caused by sharing
- gcc动态库fPIC和fpic编译选项差异介绍
- Detailed explanation of heap sorting
- Sort according to a number in a string in a column of CSV file
- Image,cv2读取图片的numpy数组的转换和尺寸resize变化
- Deep analysis of C language data storage in memory
- Hungry for 4 years + Ali for 2 years: some conclusions and Thoughts on the road of research and development
猜你喜欢
egg. JS project deployment online server
3. File operation 3-with
Delay initialization and sealing classes
Fibonacci sequence
After PCD is converted to ply, it cannot be opened in meshlab, prompting error details: ignored EOF
优秀的软件测试人员,都具备这些能力
Restful API design specification
[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]
C語言雙指針——經典題型
Trying to use is on a network resource that is unavailable
随机推荐
Cisp-pte practice explanation
Process of obtaining the electronic version of academic qualifications of xuexin.com
Double pointeur en langage C - - modèle classique
sublime text中conda环境中plt.show无法弹出显示图片的问题
China Light conveyor belt in-depth research and investment strategy report (2022 Edition)
查看局域网中电脑设备
2022.02.13 - NC002. sort
【MySQL】锁
logback1.3. X configuration details and Practice
704 二分查找
[2022 广东省赛M] 拉格朗日插值 (多元函数极值 分治NTT)
leetcode刷题 (5.31) 字符串
Problems in loading and saving pytorch trained models
Sublime text using ctrl+b to run another program without closing other runs
C language double pointer -- classic question type
sublime text没关闭其他运行就使用CTRL+b运行另外的程序问题
Deep analysis of C language pointer
visdom可视化实现与检查介绍
Colorlog结合logging打印有颜色的日志
[luatos-air551g] 6.2 repair: restart caused by line drawing