Interface AggregatedBodyPart

All Superinterfaces:
AggregatedHttpObject

public interface AggregatedBodyPart
extends AggregatedHttpObject
A complete body part whose headers and content are readily available.
  • Method Details

    • of

      static AggregatedBodyPart of​(HttpHeaders headers, HttpData content)
      Returns a new AggregatedBodyPart.
    • name

      @Nullable default String name()
      Returns the control name.
      Returns:
      the name parameter of the "content-disposition" header, or null if not present.
    • filename

      @Nullable default String filename()
      Returns the file name.
      Returns:
      the filename parameter of the "content-disposition" header, or null if not present.