add method

This commit is contained in:
Looly 2024-07-16 15:19:40 +08:00
parent 68b402fd72
commit ff962c12e9

View File

@ -178,6 +178,18 @@ public class UrlQuery {
return this;
}
/**
* 移除键及对应所有的值
*
* @param key
* @return this
* @since 5.8.30
*/
public UrlQuery remove(final CharSequence key) {
this.query.remove(key);
return this;
}
/**
* 解析URL中的查询字符串
*