mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add methods
This commit is contained in:
parent
8c1fced281
commit
5dce48db5e
@ -11,6 +11,8 @@
|
|||||||
* 【crypto 】 增加ASN1Util
|
* 【crypto 】 增加ASN1Util
|
||||||
* 【core 】 CsvConfig改为泛型形式
|
* 【core 】 CsvConfig改为泛型形式
|
||||||
* 【core 】 增加Partition
|
* 【core 】 增加Partition
|
||||||
|
* 【http 】 SoapClient.sendForResponse改为public(issue#I466NN@Gitee)
|
||||||
|
* 【core 】 XmlUtil增加append重载(issue#I466ZZ@Gitee)
|
||||||
|
|
||||||
### 🐞Bug修复
|
### 🐞Bug修复
|
||||||
|
|
||||||
|
@ -1326,6 +1326,17 @@ public class XmlUtil {
|
|||||||
public static Node appendText(Node node, CharSequence text) {
|
public static Node appendText(Node node, CharSequence text) {
|
||||||
return appendText(getOwnerDocument(node), node, text);
|
return appendText(getOwnerDocument(node), node, text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 追加数据子节点,可以是Map、集合、文本
|
||||||
|
*
|
||||||
|
* @param node 节点
|
||||||
|
* @param data 数据
|
||||||
|
* @since 5.7.10
|
||||||
|
*/
|
||||||
|
public static void append(Node node, Object data) {
|
||||||
|
append(getOwnerDocument(node), node, data);
|
||||||
|
}
|
||||||
// ---------------------------------------------------------------------------------------- Private method start
|
// ---------------------------------------------------------------------------------------- Private method start
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -585,7 +585,7 @@ public class SoapClient extends HttpBase<SoapClient> {
|
|||||||
*
|
*
|
||||||
* @return 响应对象
|
* @return 响应对象
|
||||||
*/
|
*/
|
||||||
private HttpResponse sendForResponse() {
|
public HttpResponse sendForResponse() {
|
||||||
return HttpRequest.post(this.url)//
|
return HttpRequest.post(this.url)//
|
||||||
.setFollowRedirects(true)//
|
.setFollowRedirects(true)//
|
||||||
.setConnectionTimeout(this.connectionTimeout)
|
.setConnectionTimeout(this.connectionTimeout)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user