Interface BinaryMultipartContent<T>

  • Type Parameters:
    T - The type of the part's data.

    public interface BinaryMultipartContent<T>
    Interface representing binary multipart content.
    Since:
    8.5.0
    • Method Detail

      • contentLength

        long contentLength()
        Gets the content length of the binary content, if known, or -1 if unknown.
        Returns:
        The content length.
      • contentType

        String contentType()
        Gets the content type of the binary content.
        Returns:
        The content type.
      • data

        T data()
        Gets the data with the binary content.
        Returns:
        The InputStream supplier.
      • fileName

        String fileName()
        Gets the file name of the binary content.
        Returns:
        The filename.