提供者是 spring 数据休息,客户端使用伪装页面无效

The provider is spring data rest ,client is use feign with page not work

我的引导是 2.0.5 我试过包括

compile('org.springframework.boot:spring-boot-starter-hateoas')

和假代码:

@GetMapping
PagedResources<Subject> findAll();

并将 PagedResources 替换为 Resources ,不起作用。

我也想知道客户端控制器如何设置页面参数。可以优雅地将控制器参数传递给数据休息提供者。

Spring Pageable 等数据元素不受 Spring Cloud OpenFeign 支持。参见 Support Spring Data Pageable in Feign Client