spring-framework / org.springframework.web.server / MediaTypeNotSupportedStatusException / getSupportedMediaTypes

getSupportedMediaTypes

open fun getSupportedMediaTypes(): MutableList<MediaType>

Return the list of supported content types in cases when the Accept header is parsed but not supported, or an empty list otherwise.