add LineInputStream

This commit is contained in:
Looly
2024-09-08 01:13:00 +08:00
parent 1fa1b5f173
commit e1648198e4
11 changed files with 279 additions and 124 deletions

View File

@@ -28,7 +28,7 @@ import java.util.Map;
/**
* Multipart/form-data数据的请求体封装<br>
* 遵循RFC2388规范
* 遵循RFC2387规范https://www.rfc-editor.org/rfc/rfc2387
*
* @author looly
* @since 5.3.5

View File

@@ -31,7 +31,7 @@ import java.nio.file.Path;
/**
* Multipart/form-data输出流封装<br>
* 遵循RFC2388规范
* 遵循RFC2387规范https://www.rfc-editor.org/rfc/rfc2387
*
* @author looly
* @since 5.7.17
@@ -97,6 +97,7 @@ public class MultipartOutputStream extends OutputStream {
* @return this
* @throws IORuntimeException IO异常
*/
@SuppressWarnings("resource")
public MultipartOutputStream write(final String formFieldName, final Object value) throws IORuntimeException {
// 多资源
if (value instanceof MultiResource) {