Interface MediaTypeProvider

All Known Subinterfaces:
FileCustomizableResponseType
All Known Implementing Classes:
StreamedFile, SystemFile

public interface MediaTypeProvider
Interface for bodies that provide their own media type.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull MediaType
     
  • Method Details

    • getMediaType

      @NonNull MediaType getMediaType()
      Returns:
      The media type of the object.