Interface RentersAPI
- All Superinterfaces:
RentersHttpIface
- All Known Implementing Classes:
RentersAPIClient
This interface extends the Spring 6 Http Interface for communicating with
a renter and any custom methods to be implemented by the RentersAPIClient.
-
Field Summary
Fields inherited from interface info.ejava.assignments.api.houserenters.client.renters.RentersHttpIface
RENTER_PATH, RENTERS_PATH
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<RenterListDTO> getRenters
(org.springframework.data.domain.Pageable pageable) withRestTemplate
(org.springframework.web.client.RestTemplate restTemplate) Methods inherited from interface info.ejava.assignments.api.houserenters.client.renters.RentersHttpIface
createRenter, getRenter, getRenters, hasRenter, removeAllRenters, removeRenter, updateRenter
-
Method Details
-
withRestTemplate
-
getRenters
org.springframework.http.ResponseEntity<RenterListDTO> getRenters(org.springframework.data.domain.Pageable pageable)
-