Last active
March 11, 2018 02:30
-
-
Save dhaval201279/13d9a72bb9d2eb2d7a250b2d3c2f495f to your computer and use it in GitHub Desktop.
First Version of ReservationController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.its.reservation.web; | |
import org.springframework.web.bind.annotation.PathVariable; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RequestMethod; | |
import org.springframework.web.bind.annotation.RestController; | |
import com.its.reservation.repository.Reservation; | |
/** | |
* @author Dhaval | |
* | |
*/ | |
@RestController | |
@RequestMapping("/reservation") | |
public class ReservationController { | |
@RequestMapping(method = RequestMethod.GET, value = "/{name}") | |
private Reservation getReservation(@PathVariable String name) { | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment