|
SpringBootLibrary
|
Public Member Functions | |
| List< Book > | getAllBooks () |
| ResponseEntity< Book > | getBookById (@PathVariable Long id) |
| ResponseEntity< Book > | createBook (@RequestBody Book book) |
| ResponseEntity< Book > | updateBook (@PathVariable Long id, @RequestBody Book bookDetails) |
| ResponseEntity< Void > | deleteBook (@PathVariable Long id) |
Definition at line 17 of file BookController.java.
| ResponseEntity< Book > com.example.restapi.controller.BookController.createBook | ( | @RequestBody Book | book | ) |
Definition at line 34 of file BookController.java.
| ResponseEntity< Void > com.example.restapi.controller.BookController.deleteBook | ( | @PathVariable Long | id | ) |
Definition at line 56 of file BookController.java.
| List< Book > com.example.restapi.controller.BookController.getAllBooks | ( | ) |
Definition at line 23 of file BookController.java.
| ResponseEntity< Book > com.example.restapi.controller.BookController.getBookById | ( | @PathVariable Long | id | ) |
Definition at line 28 of file BookController.java.
| ResponseEntity< Book > com.example.restapi.controller.BookController.updateBook | ( | @PathVariable Long | id, |
| @RequestBody Book | bookDetails ) |
Definition at line 46 of file BookController.java.