类 MultipartUtils

java.lang.Object
cn.taketoday.http.codec.multipart.MultipartUtils

abstract class MultipartUtils extends Object
Various static utility methods for dealing with multipart parsing.
从以下版本开始:
4.0
作者:
Arjen Poutsma
  • 构造器详细资料

    • MultipartUtils

      MultipartUtils()
  • 方法详细资料

    • boundary

      @Nullable public static byte[] boundary(HttpMessage message, Charset headersCharset)
    • charset

      public static Charset charset(HttpHeaders headers)
      Return the character set of the given headers, as defined in the HttpHeaders.getContentType() header.
    • concat

      public static byte[] concat(byte[]... byteArrays)
      Concatenates the given array of byte arrays.
    • closeChannel

      public static void closeChannel(Channel channel)
    • isFormField

      public static boolean isFormField(HttpHeaders headers)
    • deleteFile

      public static void deleteFile(Path file)