Interface Part

All Known Subinterfaces:
FilePart, FormFieldPart

public interface Part
Representation for a part in a "multipart/form-data" request.

The origin of a multipart request may be a browser form in which case each part is either a FormFieldPart or a FilePart.

Multipart requests may also be used outside a browser for data of any content type (for example, JSON, PDF, etc).

Since:
7.1
Author:
Brian Clozel, Sebastien Deleuze, Rossen Stoyanchev
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the content for this part.
    default void
    Delete the underlying storage for this part.
    Return the headers associated with the part.
    Return the name of the part in the multipart form.
  • Method Details