cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] gonzalad opened a new pull request #328: MBW for Spring Views
Date Thu, 01 Jan 1970 00:00:00 GMT
gonzalad opened a new pull request #328: MBW for Spring Views
URL: https://github.com/apache/cxf/pull/328
 
 
   This SpringViewResolverProvider provides support for rendering spring views as text/html
mediaTypes.
   
   Sample usage:
   
   ```
   @Bean
   public SpringViewResolverProvider springViewProvider(ViewResolver viewResolver) {
   	SpringViewResolverProvider viewProvider = new SpringViewResolverProvider(viewResolver,
   	    new AcceptHeaderLocaleResolver());
   	viewProvider.setUseClassNames(true);
   	viewProvider.setBeanName("model");
   	viewProvider.setResourcePaths(Collections.singletonMap("/remove", "registeredClients"));
   	return viewProvider;
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message