接口 MediaTypeExpression
public interface MediaTypeExpression
A contract for media type expressions (e.g. "text/plain", "!text/plain") as defined in the@RequestMapping
annotation for "consumes" and "produces" conditions.- 从以下版本开始:
- 3.1
- 作者:
- Rossen Stoyanchev
- 另请参阅:
RequestMapping.consumes()
,RequestMapping.produces()
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 MediaType
getMediaType()
boolean
isNegated()
方法详细资料
getMediaType
MediaType getMediaType()
isNegated
boolean isNegated()