@Consumes @Produces分别表示入参和出参数吗

能够这样讲。可是不是很到位。html 是限定做用,相似于filterjson consumes: 指定处理请求的提交内容类型(Content-Type),例如application/json, text/html;app produces: 指定返回的内容类型,仅当request请求头中的(Accept)类型中包含该指定类型才返回;spa
相关文章
相关标签/搜索