Skip to content

Commit

Permalink
Session Interface 추가 iotoasis#304
Browse files Browse the repository at this point in the history
  • Loading branch information
pahnjy01 committed Dec 19, 2016
1 parent b38a7c7 commit b5ad954
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ public List<Session> retrieveSessionDataByTime(@PathVariable int time){
return sessionList;
}

@RequestMapping(value = "/collection/{id}")
@ResponseStatus(value = HttpStatus.OK)
public Session retrieveSessionDetail(@PathVariable String id){
return sessionStore.retrieveSessionDetail(id);
}


private List<SessionTransFormObject> sessionToTransFormObject(List<Session> sessionList){
List<SessionTransFormObject> sessionTransFormObjects = new ArrayList<>();
for(Session session : sessionList){
Expand Down

0 comments on commit b5ad954

Please sign in to comment.