@Override public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) { PageableHandlerMethodArgumentResolver resolver = new PageableHandlerMethodArgumentResolver(new SortHandlerMethodArgumentResolver()); argumentResolvers.add(resolver); super.addArgumentResolvers(argumentResolvers); }
@Override public void addArgumentResolvers(final List<HandlerMethodArgumentResolver> argumentResolvers) { argumentResolvers.add(pageableHandlerMethodArgumentResolver()); super.addArgumentResolvers(argumentResolvers); }