Package io.micronaut.http.body
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
-
Method Details
-
getMediaType
- Returns:
- The media type of the object.
-