Class HouseRentalsPageableController

java.lang.Object
info.ejava_student.starter.assignment5.pageable.HouseRentalsPageableController

public class HouseRentalsPageableController extends Object
This controller adds an additional endpoint not included in the original API.
  • Constructor Details

    • HouseRentalsPageableController

      public HouseRentalsPageableController()
  • Method Details

    • findHouseRentals

      @GetMapping(path="...", produces="application/json") public org.springframework.http.ResponseEntity<HouseRentalPageDTO> findHouseRentals(@RequestParam(value="pageNumber",required=false) Integer pageNumber, @RequestParam(value="pageSize",required=false) Integer pageSize, @RequestParam(value="sort",required=false) String sortString)