Interface RentersHttpIface

All Known Subinterfaces:
RentersAPI, RentersJSONIfaceMapping
All Known Implementing Classes:
RentersAPIClient

public interface RentersHttpIface
This is a mapping-free implementation of a Spring 6 HTTP Interface. An extending interface will define the HTTP mapping.
  • Field Details

  • Method Details

    • createRenter

      org.springframework.http.ResponseEntity<RenterDTO> createRenter(RenterDTO renter)
    • getRenters

      org.springframework.http.ResponseEntity<RenterListDTO> getRenters(Integer pageNumber, Integer pageSize)
    • getRenter

      org.springframework.http.ResponseEntity<RenterDTO> getRenter(String id)
    • hasRenter

      org.springframework.http.ResponseEntity<Void> hasRenter(String id)
    • updateRenter

      org.springframework.http.ResponseEntity<RenterDTO> updateRenter(String id, RenterDTO renter)
    • removeRenter

      org.springframework.http.ResponseEntity<Void> removeRenter(String id)
    • removeAllRenters

      org.springframework.http.ResponseEntity<Void> removeAllRenters()