Skip to content

Pagination / Sort support in http interface client #3046

Open
@hesselapplications

Description

@hesselapplications

It would be great if http interface clients had support for:

  • Page as a response type
  • Pageable / Sort as request parameters
interface FooClient {
  @GetExchange("/foos")
  public fun getFoos(
    pageRequest: Pageable,
  ): Page<Foo>
}

This would bring feature parity for what is supported in controllers today. I believe spring openfeign clients support this as well

Original: spring-projects/spring-framework#32286

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions