类 MultipartUtils
java.lang.Object
cn.taketoday.http.codec.multipart.MultipartUtils
Various static utility methods for dealing with multipart parsing.
- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static byte[]boundary(HttpMessage message, Charset headersCharset) static Charsetcharset(HttpHeaders headers) Return the character set of the given headers, as defined in theHttpHeaders.getContentType()header.static voidcloseChannel(Channel channel) static byte[]concat(byte[]... byteArrays) Concatenates the given array of byte arrays.static voiddeleteFile(Path file) static booleanisFormField(HttpHeaders headers)
-
构造器详细资料
-
MultipartUtils
MultipartUtils()
-
-
方法详细资料
-
boundary
-
charset
Return the character set of the given headers, as defined in theHttpHeaders.getContentType()header. -
concat
public static byte[] concat(byte[]... byteArrays) Concatenates the given array of byte arrays. -
closeChannel
-
isFormField
-
deleteFile
-