2014-10-07 71 views
1

我正在阅读关于REST API development with Spring-HATEOAS的文章,以及浏览project page and docs,但迄今为止只看到使用Java配置的示例代码。是否有与@EnableHypermediaSupport等效的XML和文章示例中的配置?@EnableHypermediaSupport的XML配置等效

@Configuration 
@ComponentScan 
@EnableWebMvc 
@EnableHypermediaSupport 
class WebMvcConfiguration extends WebMvcConfigurationSupport { 

    @Override 
    public void configureContentNegotiation(ContentNegotiationConfigurer c) { 
     c.defaultContentType(MediaType.APPLICATION_JSON); 
    } 

    @Bean 
    public MultipartResolver multipartResolver() { .. } 

} 

回答

2

目前没有。欢迎随时在issue tracker开立一张机票。

+0

完成。谢谢(你的)信息。 – woemler 2014-10-10 13:23:39