Interface ReadablePart

All Superinterfaces:
ReadableEntity

public interface ReadablePart extends ReadableEntity
A single part of a multipart message.
  • Method Details

    • name

      String name()
      Name of this multipart part.
      Returns:
      param name
    • fileName

      Optional<String> fileName()
      File name of this part if defined in part Content-Disposition.
      Returns:
      file name if defined
    • contentType

      HttpMediaType contentType()
      Content type of this multipart part.
      Returns:
      HTTP content type
    • partHeaders

      Headers partHeaders()
      Headers of this part.
      Returns:
      headers