Package | Description |
---|---|
org.dromara.hutool.http.client.body |
请求体封装实现
|
Modifier and Type | Class and Description |
---|---|
class |
BytesBody
bytes类型的Http request body,主要发送编码后的表单数据或rest body(如JSON或XML)
|
class |
StringBody
String类型的body,一般用于Rest请求的请求体,如JSON或XML
|
Modifier and Type | Method and Description |
---|---|
static ResourceBody |
ResourceBody.of(HttpResource resource)
创建 Http request body
|
Copyright © 2025. All rights reserved.