Class ProductOnOrderController


  • @RestController
    @RequestMapping("/products-on-order")
    @ExposesResourceFor(ProductOnOrder.class)
    public class ProductOnOrderController
    extends Object
    The ProductOnOrderController class is the @RestController that maps the endpoints of "/products-on-order" for communication between the server-side and client-side for ProductOnOrder.
    • Constructor Detail

      • ProductOnOrderController

        public ProductOnOrderController​(OrderService orderService)
        Constructs the instance of OrderService object.
        Parameters:
        orderService - The instance of OrderService to initialize.