Package cvut.fel.controller

# Class BookController

java.lang.Object
cvut.fel.controller.BookController

    @RestController
    public class BookController
    extends java.lang.Object

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `BookController​(BookService bookService, DTOMapper dtoMapper)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `org.springframework.http.ResponseEntity<BookDTO>` | `getBookById​(java.lang.Long id)` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BookController

    @Autowired public BookController​(BookService bookService, DTOMapper dtoMapper)

- ## Method Details

  - ### getBookById

    @GetMapping("/book/{id}") public org.springframework.http.ResponseEntity<BookDTO> getBookById​(@PathVariable java.lang.Long id)