org.springframework.data.web.SortHandlerMethodArgumentResolver Java Examples

The following examples show how to use org.springframework.data.web.SortHandlerMethodArgumentResolver. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WebMvcAutoConfiguration.java    From halo with GNU General Public License v3.0 5 votes vote down vote up
public WebMvcAutoConfiguration(PageableHandlerMethodArgumentResolver pageableResolver,
                               SortHandlerMethodArgumentResolver sortResolver,
                               HaloProperties haloProperties) {
    this.pageableResolver = pageableResolver;
    this.sortResolver = sortResolver;
    this.haloProperties = haloProperties;
}
 
Example #2
Source File: WebConfiguration.java    From java-platform with Apache License 2.0 4 votes vote down vote up
@Bean
public SortHandlerMethodArgumentResolver sortResolver() {
	return new SortHandlerMethodArgumentResolver();
}